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:
parent
0f7e0b6432
commit
35ecd1d0b7
3 changed files with 41 additions and 16 deletions
17
.forgejo/workflows/deploy.yaml
Normal file
17
.forgejo/workflows/deploy.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue