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_ENVIRONMENT: production
|
||||||
HUGO_ENV: production
|
HUGO_ENV: production
|
||||||
run: hugo --minify
|
run: hugo --minify
|
||||||
- name: Zip output
|
#- name: Zip output
|
||||||
run: apt update && apt install zip -y && zip -r public.zip public/
|
# run: apt update && apt install zip -y && zip -r public.zip public/
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: hugo-output
|
name: hugo-output
|
||||||
path: ./public.zip
|
path: ./public
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
push:
|
push:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
@ -40,7 +40,7 @@ jobs:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: hugo-output
|
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: ls -l
|
||||||
- run: |
|
- run: |
|
||||||
git config user.name "forgejo-actions"
|
git config user.name "forgejo-actions"
|
||||||
|
|
Loading…
Reference in a new issue