Skip to content

fix: docs build

fix: docs build #11

Workflow file for this run

name: Build and deploy docs
on:
workflow_dispatch:
push:
paths:
- "modules/extra/**/*"
- "docs/*"
jobs:
build:
name: Build and deploy docs
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
logger: pretty
- name: Nix Magic Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build Linux packages
run: "nix build -L .#docs-html"
- name: Deploy to gh-pages branch
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./result