diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 87f51d2..a1c2ec0 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -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"