19 lines
No EOL
392 B
YAML
19 lines
No EOL
392 B
YAML
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 |