.forgejo/workflows/build.yaml aktualisiert
This commit is contained in:
parent
07ca7f15a7
commit
461d06b5c7
1 changed files with 5 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue