mirror of
https://git.gay/pyrox/aux-docs
synced 2024-10-30 05:07:56 +00:00
25 lines
529 B
YAML
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
|