Add Forgejo Actions workflow for auto-deploy
All checks were successful
Build and Deploy Blog / build-deploy (push) Successful in 6s

This commit is contained in:
Tessa 2026-06-06 11:15:33 +00:00
parent 30b24f1f20
commit 21ed7f70b8

View file

@ -0,0 +1,21 @@
name: Build and Deploy Blog
on:
push:
branches:
- main
jobs:
build-deploy:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Build
run: hugo --minify
- name: Deploy
run: |
rsync -av --delete public/ /srv/web/blog.holoshaii.dev/public/