.gitea/workflows/dev-2-0.yaml aktualisiert
Website / Website veröffentlichen (push) Has been cancelled
Website / Website veröffentlichen (push) Has been cancelled
This commit is contained in:
@@ -11,18 +11,25 @@ jobs:
|
||||
if: gitea.repository == 'fte/FTE-Homepage'
|
||||
runs-on: act-runnerV2
|
||||
steps:
|
||||
- name: clone
|
||||
uses: actions/checkout@v4
|
||||
- name: npm install
|
||||
env:
|
||||
CI: "true"
|
||||
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/"
|
||||
- name: deploy
|
||||
run: |
|
||||
cd public
|
||||
rsync -azr --delete ./ /opt/data/webdata/
|
||||
- name: clone
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: npm install
|
||||
env:
|
||||
CI: "true"
|
||||
run: |
|
||||
npm ci --no-audit --no-fund
|
||||
|
||||
- name: build
|
||||
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: |
|
||||
rsync -azr --delete ./public/ /opt/data/webdata/
|
||||
Reference in New Issue
Block a user