.forgejo/workflows/build.yaml aktualisiert
Some checks failed
build-to-pages / build (push) Failing after 9s
build-to-pages / push (push) Has been cancelled

This commit is contained in:
hoernschen 2023-10-21 18:54:48 +00:00
parent e0299257dc
commit 925e37dded

View file

@ -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 ""