CHANGE zip of hugo output
This commit is contained in:
parent
978268f885
commit
ef9c1d8bc5
1 changed files with 4 additions and 4 deletions
|
@ -23,12 +23,12 @@ jobs:
|
|||
HUGO_ENVIRONMENT: production
|
||||
HUGO_ENV: production
|
||||
run: hugo --minify
|
||||
- name: Zip output
|
||||
run: apt update && apt install zip -y && zip -r public.zip public/
|
||||
#- name: Zip output
|
||||
# run: apt update && apt install zip -y && zip -r public.zip public/
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: hugo-output
|
||||
path: ./public.zip
|
||||
path: ./public
|
||||
if-no-files-found: error
|
||||
push:
|
||||
runs-on: docker
|
||||
|
@ -40,7 +40,7 @@ jobs:
|
|||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: hugo-output
|
||||
- run: apt update && apt install unzip -y && unzip public.zip -d .
|
||||
#- run: apt update && apt install unzip -y && unzip public.zip -d .
|
||||
- run: ls -l
|
||||
- run: |
|
||||
git config user.name "forgejo-actions"
|
||||
|
|
Loading…
Reference in a new issue