4 Commits

Author SHA1 Message Date
agresdominik dbfe277eb0 remove build step on push on main 2026-06-22 21:45:40 +02:00
agresdominik 2afac7f49a add google token 2026-06-22 21:25:10 +02:00
agresdominik 04e9e4f6b8 Stop ignoring google verification file 2026-06-22 21:24:31 +02:00
agresdominik c4cababe98 cleanup 2026-06-22 21:04:44 +02:00
8 changed files with 36 additions and 7 deletions
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
# Same check as CI: abort the commit if Hugo can't build cleanly.
make build || exit 1
make clean
+6
View File
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
+20
View File
@@ -0,0 +1,20 @@
name: Build Check
on:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: peaceiris/actions-hugo@v3
with:
hugo-version: "0.152.2"
extended: true
# Fails the run on any Hugo error (broken templates, shortcodes, refs).
- run: hugo --gc --minify --panicOnWarning
working-directory: blog
+2
View File
@@ -21,6 +21,8 @@ jobs:
key: ${{ secrets.VPS_SSH_KEY }}
port: 22
script: |
set -e
# Pull latest changes
cd /home/agres/website
git pull origin main
-3
View File
@@ -1,6 +1,3 @@
# Private Google Datei
googleeb4005177cc2703c.html
# public folder
public/
+3
View File
@@ -6,6 +6,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ .Site.Params.browserTitle }} :: {{ .Title }}</title>
{{ with .Description }}<meta name="description" content="{{ . }}">{{ end }}
<link rel="canonical" href="{{ .Permalink }}">
{{ range .AllTranslations }}<link rel="alternate" hreflang="{{ .Language.Lang }}" href="{{ .Permalink }}">
{{ end }}
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
<link rel="icon" href="/favicon.ico" sizes="any">
-4
View File
@@ -156,9 +156,7 @@ article { margin-bottom: 2rem; }
justify-content: space-between;
align-items: baseline;
gap: 1rem;
flex-wrap: wrap;
}
.nav-links { white-space: nowrap; }
.site-title {
font-size: 1.25rem;
font-weight: 600;
@@ -337,8 +335,6 @@ code { font-family: var(--font-mono); }
main { margin: 2rem 0 3rem; }
.post-head { flex-direction: column; gap: 0.2rem; }
.landing-name { font-size: 2.1rem; }
.nav-links a { margin-left: 0.9rem; }
.nav-links a.lang-switch { margin-left: 0.7rem; padding-left: 0.7rem; }
}
/* ---------- LLM prompt-injection bait (kept hidden) ---------- */
+1
View File
@@ -0,0 +1 @@
google-site-verification: googleeb4005177cc2703c.html