.forgejo/workflows/build.yaml aktualisiert
Some checks failed
build-to-pages / build (push) Failing after 18s
build-to-pages / push (push) Failing after 3s

This commit is contained in:
hoernschen 2023-10-23 14:31:02 +00:00
parent 07ca7f15a7
commit 461d06b5c7

View file

@ -23,10 +23,12 @@ jobs:
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: hugo --minify
- name: Zip output
run: zip -r public.zip public/
- uses: actions/upload-artifact@v3
with:
name: hugo-output
path: ./public
path: ./public.zip
if-no-files-found: error
push:
runs-on: docker
@ -34,9 +36,11 @@ jobs:
- uses: actions/checkout@v4
with:
ref: pages
- run: rm -rf *
- uses: actions/download-artifact@v3
with:
name: hugo-output
- run: unzip public.zip -d .
- run: ls -l
- run: |
git config user.name "forgejo-actions"