FIX build
This commit is contained in:
parent
27db2e3f8d
commit
69a47a097e
1 changed files with 3 additions and 2 deletions
|
@ -30,13 +30,14 @@ jobs:
|
|||
./themes/vitrine/assets/build/images.sh
|
||||
- name: Zip output
|
||||
run: apt update && apt install zip -y && zip -r public.zip public/
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: hugo-output
|
||||
path: ./public.zip
|
||||
if-no-files-found: error
|
||||
retention-days: 1
|
||||
push:
|
||||
needs: [build]
|
||||
runs-on: docker
|
||||
container:
|
||||
image: node:latest
|
||||
|
@ -46,7 +47,7 @@ jobs:
|
|||
ref: public
|
||||
- name: Clean current files in directory
|
||||
run: rm -rf *
|
||||
- uses: actions/download-artifact@v3
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: hugo-output
|
||||
- name: Unzip hugo output
|
||||
|
|
Loading…
Reference in a new issue