John 694efb106c
Some checks failed
Build Hugo Site / build (push) Failing after 1s
back to square one
2025-03-09 10:12:20 -05:00

29 lines
538 B
YAML

name: Build Hugo Site
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: true
- name: Install Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
extended: true
- name: Build site
run: hugo --minify --destination /mnt/hugo_output
- name: Set correct permissions
run: chown -R john:gpio /mnt/hugo_output