From 461d06b5c7907f375bc876ebbab2939f0bf44ac6 Mon Sep 17 00:00:00 2001 From: hoernschen Date: Mon, 23 Oct 2023 14:31:02 +0000 Subject: [PATCH] .forgejo/workflows/build.yaml aktualisiert --- .forgejo/workflows/build.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"