Compare commits

3 Commits

Author SHA1 Message Date
9963ca278e Update .gitea/workflows/deploy-hugo.yaml
Some checks failed
Deploy Hugo Site / deploy (push) Has been cancelled
2026-02-08 19:31:13 +01:00
eaa383a28a Trigger workflow test 2026-02-08 19:29:07 +01:00
58ab022661 add hugo deploy workflow 2026-02-08 19:28:33 +01:00

View File

@ -0,0 +1,24 @@
name: Deploy Hugo Site
on:
push:
branches:
- test-actions
jobs:
deploy:
runs-on: self-hosted
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.147' # specify your Hugo version
- name: Build Hugo site
run: hugo --destination /home/pim/website-live
- name: Sync to live
run: rsync -av --delete ./public/ /home/pim/website-live/