Publii: update content

This commit is contained in:
DevMiner 2024-02-07 20:14:15 +01:00
parent 7efec4e32a
commit d4ce9890d8
16 changed files with 3 additions and 317 deletions

View file

@ -1 +0,0 @@
Dockerfile

View file

@ -1,55 +0,0 @@
name: docker
on:
release:
types: [published]
pull_request:
push:
workflow_dispatch:
env:
REGISTRY: git.devminer.xyz
IMAGE_NAME: "${{ github.actor }}/publii-testing"
jobs:
docker:
runs-on: ubuntu-22.04
steps:
# - run: curl -fsSL https://get.docker.com | sh
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: actions/cache@v4
id: cache
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
labels: |
cache-from=type=local,src=/tmp/.buildx-cache
cache-to=type=local,dest=/tmp/.buildx-cache
- uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_PASSWORD }}
- id: get_commit
run: echo ::set-output "name=hash::${GITHUB_SHA:0:7}"
- uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new
- run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache

View file

@ -1,2 +0,0 @@
FROM ghcr.io/thedevminertv/gostatic:1.3.0
COPY . /static

View file

@ -1,6 +1,6 @@
<!DOCTYPE html><html lang="en-us"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Author: Anna. DevMiner - DevStack</title><meta name="robots" content="noindex, follow"><meta name="generator" content="Publii Open-Source CMS for Static Site"><link rel="alternate" type="application/atom+xml" href="https://publii-testing.devminer.xyz/feed.xml"><link rel="alternate" type="application/json" href="https://publii-testing.devminer.xyz/feed.json"><meta property="og:title" content="Anna. DevMiner"><meta property="og:site_name" content="DevStack"><meta property="og:description" content=""><meta property="og:url" content="https://publii-testing.devminer.xyz/authors/anna-devminer/"><meta property="og:type" content="website"><meta name="twitter:card" content="summary"><meta name="twitter:site" content="@thedevminertv"><meta name="twitter:title" content="Anna. DevMiner"><meta name="twitter:description" content=""><link rel="preload" href="https://publii-testing.devminer.xyz/assets/dynamic/fonts/jetbrainsmono/jetbrainsmono.woff2" as="font" type="font/woff2" crossorigin><link rel="stylesheet" href="https://publii-testing.devminer.xyz/assets/css/style.css?v=0643aeb33172d8efe1d48cf7f23a4fbe"><script type="application/ld+json">{"@context":"http://schema.org","@type":"Organization","name":"DevStack","url":"https://publii-testing.devminer.xyz/"}</script><noscript><style>img[loading] {
opacity: 1;
}</style></noscript></head><body><div class="container container--center"><header class="header"><div class="header__logo"><a class="logo" href="https://publii-testing.devminer.xyz/">DevStack</a></div></header><main class="content page page--author"><div class="page__header hero page--author__header"><div class="page--author__top"><h1 class="h2 page__title">Anna. DevMiner <sup>(1 Post)</sup></h1></div></div><div class="posts"><article class="post"><header><h2 class="h1 post__title"><a href="https://publii-testing.devminer.xyz/balls/">Balls</a></h2><div class="post__meta"><time datetime="2024-02-07T18:12" class="post__date">February 7, 2024 </time><a href="https://publii-testing.devminer.xyz/authors/anna-devminer/" class="post__author">Anna. DevMiner</a></div><div class="post__tags"></div></header><div class="post__content"><p>:YEP: Cock</p><a href="https://publii-testing.devminer.xyz/balls/" class="read-more">Read more &#8594;</a></div></article></div></main><footer class="footer"><div class="footer__inner"><div class="footer__copyright"><p>-</p></div></div></footer></div><script defer="defer" src="https://publii-testing.devminer.xyz/assets/js/scripts.min.js?v=74fad06980c30243d91d72c7c57fcdb8"></script><script>window.publiiThemeMenuConfig={mobileMenuMode:'sidebar',animationSpeed:300,submenuWidth: 'auto',doubleClickTime:500,mobileMenuExpandableSubmenus:true,relatedContainerForOverlayMenuSelector:'.top'};</script><script>var images = document.querySelectorAll('img[loading]');
}</style></noscript></head><body><div class="container container--center"><header class="header"><div class="header__logo"><a class="logo" href="https://publii-testing.devminer.xyz/">DevStack</a></div></header><main class="content page page--author"><div class="page__header hero page--author__header"><div class="page--author__top"><h1 class="h2 page__title">Anna. DevMiner <sup>(0 Posts)</sup></h1></div></div><div class="posts"></div></main><footer class="footer"><div class="footer__inner"><div class="footer__copyright"><p>-</p></div></div></footer></div><script defer="defer" src="https://publii-testing.devminer.xyz/assets/js/scripts.min.js?v=74fad06980c30243d91d72c7c57fcdb8"></script><script>window.publiiThemeMenuConfig={mobileMenuMode:'sidebar',animationSpeed:300,submenuWidth: 'auto',doubleClickTime:500,mobileMenuExpandableSubmenus:true,relatedContainerForOverlayMenuSelector:'.top'};</script><script>var images = document.querySelectorAll('img[loading]');
for (var i = 0; i < images.length; i++) {
if (images[i].complete) {
images[i].classList.add('is-loaded');

View file

@ -1,12 +0,0 @@
<!DOCTYPE html><html lang="en-us"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Balls - DevStack</title><meta name="description" content=":YEP: Cock"><meta name="generator" content="Publii Open-Source CMS for Static Site"><link rel="canonical" href="https://publii-testing.devminer.xyz/balls/"><link rel="alternate" type="application/atom+xml" href="https://publii-testing.devminer.xyz/feed.xml"><link rel="alternate" type="application/json" href="https://publii-testing.devminer.xyz/feed.json"><meta property="og:title" content="Balls"><meta property="og:site_name" content="DevStack"><meta property="og:description" content=":YEP: Cock"><meta property="og:url" content="https://publii-testing.devminer.xyz/balls/"><meta property="og:type" content="article"><meta name="twitter:card" content="summary"><meta name="twitter:site" content="@thedevminertv"><meta name="twitter:title" content="Balls"><meta name="twitter:description" content=":YEP: Cock"><link rel="preload" href="https://publii-testing.devminer.xyz/assets/dynamic/fonts/jetbrainsmono/jetbrainsmono.woff2" as="font" type="font/woff2" crossorigin><link rel="stylesheet" href="https://publii-testing.devminer.xyz/assets/css/style.css?v=0643aeb33172d8efe1d48cf7f23a4fbe"><script type="application/ld+json">{"@context":"http://schema.org","@type":"Article","mainEntityOfPage":{"@type":"WebPage","@id":"https://publii-testing.devminer.xyz/balls/"},"headline":"Balls","datePublished":"2024-02-07T18:12","dateModified":"2024-02-07T18:12","description":":YEP: Cock","author":{"@type":"Person","name":"Anna. DevMiner","url":"https://publii-testing.devminer.xyz/authors/anna-devminer/"},"publisher":{"@type":"Organization","name":"Anna. DevMiner"}}</script><noscript><style>img[loading] {
opacity: 1;
}</style></noscript></head><body><div class="container container--center"><header class="header"><div class="header__logo"><a class="logo" href="https://publii-testing.devminer.xyz/">DevStack</a></div></header><main class="content"><article class="post"><header><h1 class="post__title">Balls</h1><div class="post__meta"><time datetime="2024-02-07T18:12" class="post__date">February 7, 2024 </time><span class="post__author"><a href="https://publii-testing.devminer.xyz/authors/anna-devminer/" class="feed__author">Anna. DevMiner</a></span></div></header><div class="post__entry"><p>:YEP: Cock</p></div><footer class="wrapper post__footer"><p class="post__last-updated">This article was updated on February 7, 2024</p><div class="post__share"></div></footer></article></main><footer class="footer"><div class="footer__inner"><div class="footer__copyright"><p>-</p></div></div></footer></div><script defer="defer" src="https://publii-testing.devminer.xyz/assets/js/scripts.min.js?v=74fad06980c30243d91d72c7c57fcdb8"></script><script>window.publiiThemeMenuConfig={mobileMenuMode:'sidebar',animationSpeed:300,submenuWidth: 'auto',doubleClickTime:500,mobileMenuExpandableSubmenus:true,relatedContainerForOverlayMenuSelector:'.top'};</script><script>var images = document.querySelectorAll('img[loading]');
for (var i = 0; i < images.length; i++) {
if (images[i].complete) {
images[i].classList.add('is-loaded');
} else {
images[i].addEventListener('load', function () {
this.classList.add('is-loaded');
}, false);
}
}</script></body></html>

View file

@ -1,7 +0,0 @@
apiVersion: v2
name: app
description: ''
type: application
version: 0.0.1
appVersion: "0.0.1"

View file

@ -1,41 +0,0 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "app.name" -}}
{{- .Values.devhosting.appname | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
*/}}
{{- define "app.fullname" -}}
{{- .Values.devhosting.appname | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "app.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "app.labels" -}}
helm.sh/chart: {{ include "app.chart" . }}
{{ include "app.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "app.selectorLabels" -}}
app.kubernetes.io/name: {{ include "app.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

View file

@ -1,39 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "app.fullname" . }}
labels:
{{- include "app.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicas }}
selector:
matchLabels:
{{- include "app.selectorLabels" . | nindent 6 }}
template:
metadata:
labels:
{{- include "app.selectorLabels" . | nindent 8 }}
spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: {{ .Values.service.app_port }}
protocol: TCP
startupProbe:
initialDelaySeconds: 20
httpGet:
path: /
port: http
livenessProbe:
httpGet:
path: /
port: http
readinessProbe:
httpGet:
path: /
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}

View file

@ -1,50 +0,0 @@
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
name: {{ include "app.fullname" . }}
labels:
{{- include "app.labels" . | nindent 4 }}
spec:
selector:
istio: ingressgateway
servers:
- port:
number: 80
name: http
protocol: HTTP
hosts:
- {{ .Values.service.host }}
{{- if .Values.service.ssl.enabled }}
- port:
number: 443
name: https
protocol: HTTPS
hosts:
- {{ .Values.service.host }}
tls:
mode: SIMPLE
credentialName: {{ include "app.fullname" . }}
{{- end }}
---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: {{ include "app.fullname" . }}
labels:
{{- include "app.labels" . | nindent 4 }}
spec:
hosts:
- {{ .Values.service.host }}
gateways:
- {{ include "app.fullname" . }}
http:
- name: primary
headers:
response:
set:
Cache-Control: public, max-age=31536000, immutable
route:
- destination:
host: {{ include "app.fullname" . }}
port:
number: {{ .Values.service.app_port }}

View file

@ -1,14 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "app.fullname" . }}
labels:
{{- include "app.labels" . | nindent 4 }}
spec:
selector:
{{- include "app.selectorLabels" . | nindent 4 }}
ports:
- port: {{ .Values.service.app_port }}
targetPort: http
name: http
protocol: TCP

View file

@ -1,27 +0,0 @@
{{- if .Values.service.ssl.enabled }}
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: {{ include "app.fullname" . }}
namespace: istio-system
spec:
secretName: {{ include "app.fullname" . }}
commonName: {{ .Values.service.host }}
duration: 2160h0m0s # 90d
renewBefore: 360h0m0s # 15d
subject:
organizations:
- DevMiner.xyz
privateKey:
algorithm: RSA
encoding: PKCS1
size: 4096
usages:
- server auth
- client auth
dnsNames:
- {{ .Values.service.host }}
issuerRef:
name: {{ .Values.service.ssl.issuer.name }}
kind: {{ .Values.service.ssl.issuer.kind }}
{{- end }}

View file

@ -1,28 +0,0 @@
image:
repository: git.devminer.xyz/devminer/publii-testing
pullPolicy: Always
tag: "main"
replicas: 3
service:
app_port: 80
host: publii-testing.devminer.xyz
ssl:
enabled: true
port: 443
issuer:
name: letsencrypt
kind: ClusterIssuer
resources:
limits:
cpu: 128m
memory: 128Mi
requests:
cpu: 16m
memory: 32Mi
# populated by the ArgoCD application
devhosting:
appname: ''

View file

@ -9,19 +9,5 @@
"name": "Anna. DevMiner"
},
"items": [
{
"id": "https://publii-testing.devminer.xyz/balls/",
"url": "https://publii-testing.devminer.xyz/balls/",
"title": "Balls",
"summary": ":YEP: Cock",
"content_html": "<p>:YEP: Cock</p>",
"author": {
"name": "Anna. DevMiner"
},
"tags": [
],
"date_published": "2024-02-07T18:12:18+01:00",
"date_modified": "2024-02-07T18:12:18+01:00"
}
]
}

View file

@ -3,30 +3,10 @@
<title>DevStack</title>
<link href="https://publii-testing.devminer.xyz/feed.xml" rel="self" />
<link href="https://publii-testing.devminer.xyz" />
<updated>2024-02-07T18:12:18+01:00</updated>
<updated>1970-01-01T01:00:00+01:00</updated>
<author>
<name>Anna. DevMiner</name>
</author>
<id>https://publii-testing.devminer.xyz</id>
<entry>
<title>Balls</title>
<author>
<name>Anna. DevMiner</name>
</author>
<link href="https://publii-testing.devminer.xyz/balls/"/>
<id>https://publii-testing.devminer.xyz/balls/</id>
<updated>2024-02-07T18:12:18+01:00</updated>
<summary>
<![CDATA[
:YEP: Cock
]]>
</summary>
<content type="html">
<![CDATA[
<p>:YEP: Cock</p>
]]>
</content>
</entry>
</feed>

View file

@ -1,6 +1,6 @@
<!DOCTYPE html><html lang="en-us"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>DevStack</title><meta name="generator" content="Publii Open-Source CMS for Static Site"><link rel="canonical" href="https://publii-testing.devminer.xyz/"><link rel="alternate" type="application/atom+xml" href="https://publii-testing.devminer.xyz/feed.xml"><link rel="alternate" type="application/json" href="https://publii-testing.devminer.xyz/feed.json"><meta property="og:title" content="DevStack"><meta property="og:site_name" content="DevStack"><meta property="og:description" content=""><meta property="og:url" content="https://publii-testing.devminer.xyz/"><meta property="og:type" content="website"><meta name="twitter:card" content="summary"><meta name="twitter:site" content="@thedevminertv"><meta name="twitter:title" content="DevStack"><meta name="twitter:description" content=""><link rel="preload" href="https://publii-testing.devminer.xyz/assets/dynamic/fonts/jetbrainsmono/jetbrainsmono.woff2" as="font" type="font/woff2" crossorigin><link rel="stylesheet" href="https://publii-testing.devminer.xyz/assets/css/style.css?v=0643aeb33172d8efe1d48cf7f23a4fbe"><script type="application/ld+json">{"@context":"http://schema.org","@type":"Organization","name":"DevStack","url":"https://publii-testing.devminer.xyz/"}</script><noscript><style>img[loading] {
opacity: 1;
}</style></noscript></head><body><div class="container container--center"><header class="header"><div class="header__logo"><a class="logo" href="https://publii-testing.devminer.xyz/">DevStack</a></div></header><main class="content"><div class="hero framed"><p>uuhhhh</p></div><div class="posts"><article class="post"><header><h2 class="h1 post__title"><a href="https://publii-testing.devminer.xyz/balls/">Balls</a></h2><div class="post__meta"><time datetime="2024-02-07T18:12" class="post__date">February 7, 2024 </time><a href="https://publii-testing.devminer.xyz/authors/anna-devminer/" class="post__author">Anna. DevMiner</a></div><div class="post__tags"></div></header><div class="post__content"><p>:YEP: Cock</p><a href="https://publii-testing.devminer.xyz/balls/" class="read-more">Read more &#8594;</a></div></article></div></main><footer class="footer"><div class="footer__inner"><div class="footer__copyright"><p>-</p></div></div></footer></div><script defer="defer" src="https://publii-testing.devminer.xyz/assets/js/scripts.min.js?v=74fad06980c30243d91d72c7c57fcdb8"></script><script>window.publiiThemeMenuConfig={mobileMenuMode:'sidebar',animationSpeed:300,submenuWidth: 'auto',doubleClickTime:500,mobileMenuExpandableSubmenus:true,relatedContainerForOverlayMenuSelector:'.top'};</script><script>var images = document.querySelectorAll('img[loading]');
}</style></noscript></head><body><div class="container container--center"><header class="header"><div class="header__logo"><a class="logo" href="https://publii-testing.devminer.xyz/">DevStack</a></div></header><main class="content"><div class="hero framed"><p>uuhhhh</p></div><div class="posts"></div></main><footer class="footer"><div class="footer__inner"><div class="footer__copyright"><p>-</p></div></div></footer></div><script defer="defer" src="https://publii-testing.devminer.xyz/assets/js/scripts.min.js?v=74fad06980c30243d91d72c7c57fcdb8"></script><script>window.publiiThemeMenuConfig={mobileMenuMode:'sidebar',animationSpeed:300,submenuWidth: 'auto',doubleClickTime:500,mobileMenuExpandableSubmenus:true,relatedContainerForOverlayMenuSelector:'.top'};</script><script>var images = document.querySelectorAll('img[loading]');
for (var i = 0; i < images.length; i++) {
if (images[i].complete) {
images[i].classList.add('is-loaded');

View file

@ -4,8 +4,4 @@
<url>
<loc>https://publii-testing.devminer.xyz/</loc>
</url>
<url>
<loc>https://publii-testing.devminer.xyz/balls/</loc>
<lastmod>2024-02-07T18:12:18+01:00</lastmod>
</url>
</urlset>