docs/.forgejo/workflows/deploy.yaml
2024-06-30 02:02:31 -04:00

25 lines
529 B
YAML

on:
push:
branches:
- main
jobs:
build:
runs-on: docker
steps:
- name: Checkout Repo
uses: https://code.forgejo.org/actions/checkout@v4
- name: Setup Nix
uses: https://github.com/cachix/install-nix-action@v27
- name: Build Docs
run: |
nix develop
nix build .#md-manual --out-link docs
mkdocs build -d ./public
- name: Deploy
uses: https://git.pyrox.dev/actions/pages-action@v2
with:
folder: ./public