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 with: nix_path: nixpkgs=channel:nixpkgs-unstable - name: Build Docs run: | nix build .#md-manual --out-link docs nix-shell -p 'python312.withPackages(ps: with ps; [ mkdocs-material mkdocs pillow cairosvg ])' --run "mkdocs build -d ./public" - name: Deploy uses: https://git.pyrox.dev/actions/pages-action@v2 with: folder: ./public