feat: Add a Forgejo Actions pipeline

Added a Forgejo Actions CI/CD pipeline to supersede the manual deploy.sh,
automating builds and deployments on push.
This commit is contained in:
Matthew Binning 2026-03-22 14:06:34 -07:00
parent 0f7e0b6432
commit 35ecd1d0b7
3 changed files with 41 additions and 16 deletions

View file

@ -0,0 +1,17 @@
name: Build and Deploy
on:
push:
branches:
- master
- develop
jobs:
deploy:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy
run: nix shell nixpkgs#mdbook --command ./deploy.sh local