From 925e37ddedc8f7b49cba31a31965d803a5f3c610 Mon Sep 17 00:00:00 2001 From: hoernschen Date: Sat, 21 Oct 2023 18:54:48 +0000 Subject: [PATCH] .forgejo/workflows/build.yaml aktualisiert --- .forgejo/workflows/build.yaml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index c9b692e..2afce15 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -4,13 +4,28 @@ branches: [main] jobs: build: runs-on: docker - image: klakegg/hugo + container: + image: klakegg/hugo steps: - uses: actions/checkout@v3 + with: + submodules: recursive - run: hugo --minify + - uses: actions/upload-artifact@v3 + with: + name: hugo-output + path: ./public + if-no-files-found: error push: - runs-on: docker + runs-on: ubuntu-latest steps: + - uses: actions/checkout@v3 + with: + ref: pages + - uses: actions/download-artifact@v3 + with: + name: hugo-output + - run: ls -l - run: | git config user.name "forgejo-actions" git config user.email ""