diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 65db45f..d1934ec 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -30,13 +30,14 @@ jobs: ./themes/kobel/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: https://code.forgejo.org/forgejo/upload-artifact@v4 # actions/upload-artifact@v3 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: https://code.forgejo.org/forgejo/download-artifact@v4 # actions/download-artifact@v3 with: name: hugo-output - name: Unzip hugo output @@ -58,4 +59,4 @@ jobs: git config user.email "" git add . git commit -m "generated" - git push \ No newline at end of file + git push