Some checks failed
Deploy Hugo to Gitea Pages / build-and-deploy (push) Failing after 13s
31 lines
640 B
YAML
31 lines
640 B
YAML
name: Deploy Hugo to Gitea Pages
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build-and-deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Build Hugo
|
|
uses: peaceiris/actions-hugo@v3
|
|
with:
|
|
hugo-version: 'latest'
|
|
extended: true # <--- THIS IS THE MISSING KEY
|
|
|
|
- name: Run Build
|
|
run: hugo --minify
|
|
|
|
- name: Upload to Gitea Pages
|
|
uses: actions/upload-pages-artifact@v3
|
|
with:
|
|
path: 'public/'
|
|
|
|
- name: Deploy
|
|
uses: actions/deploy-pages@v4 |