.gitea/workflows/dev-2-0.yaml aktualisiert
Website / Website veröffentlichen (push) Has been cancelled

This commit is contained in:
fte
2026-07-28 20:38:29 +02:00
parent 073919d65c
commit 45075d71ec
+14 -7
View File
@@ -13,16 +13,23 @@ jobs:
steps:
- name: clone
uses: actions/checkout@v4
- name: npm install
env:
CI: "true"
run: npm ci --no-audit --no-fund
run: |
npm ci --no-audit --no-fund
- name: build
#env:
# HUGO_SECURITY_EXEC_ALLOW: "node|(postcss)"
# HUGO_SECURITY_NODE_DISABLE: "true"
run: hugo --minify --gc --baseURL "https://dev.ftecke.de/"
env:
HUGO_SECURITY_EXEC_ALLOW: "node|(postcss)"
HUGO_SECURITY_NODE_DISABLE: "true"
run: |
# Erzwinge das Entfernen alter Absturz-Sperren von Hugo
rm -f .hugo_build.lock
rm -rf public
hugo --minify --gc --baseURL "https://ftecke.de"
- name: deploy
run: |
cd public
rsync -azr --delete ./ /opt/data/webdata/
rsync -azr --delete ./public/ /opt/data/webdata/