.forgejo/workflows/build.yaml aktualisiert
This commit is contained in:
parent
6d32fbc0da
commit
e0299257dc
2 changed files with 19 additions and 6 deletions
19
.forgejo/workflows/build.yaml
Normal file
19
.forgejo/workflows/build.yaml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
name: build-to-pages
|
||||||
|
on: [push]
|
||||||
|
branches: [main]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: docker
|
||||||
|
image: klakegg/hugo
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- run: hugo --minify
|
||||||
|
push:
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- run: |
|
||||||
|
git config user.name "forgejo-actions"
|
||||||
|
git config user.email ""
|
||||||
|
git add .
|
||||||
|
git commit -m "generated"
|
||||||
|
git push
|
|
@ -1,6 +0,0 @@
|
||||||
on: [push]
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
runs-on: docker
|
|
||||||
steps:
|
|
||||||
- run: echo All Good
|
|
Loading…
Reference in a new issue