docs/.forgejo/workflows/deploy.yaml

25 lines
529 B
YAML
Raw Normal View History

2024-06-30 05:53:29 +00:00
on:
push:
branches:
- main
jobs:
build:
2024-06-30 05:55:29 +00:00
runs-on: docker
2024-06-30 05:53:29 +00:00
steps:
- name: Checkout Repo
uses: https://code.forgejo.org/actions/checkout@v4
2024-06-30 05:55:29 +00:00
- name: Setup Nix
uses: https://github.com/cachix/install-nix-action@v27
2024-06-30 05:53:29 +00:00
2024-06-30 05:55:29 +00:00
- name: Build Docs
2024-06-30 05:53:29 +00:00
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