Skip to content

docs: point to Determinate Nix Installer #161

docs: point to Determinate Nix Installer

docs: point to Determinate Nix Installer #161

Workflow file for this run

name: Build and deploy documentation
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
pages: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: cachix/install-nix-action@v22
- uses: cachix/cachix-action@v13
with:
name: typst-nix
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Build Book
run: |
nix build --accept-flake-config .#docs --out-link result --print-build-logs
cp -RLT result book
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: "book"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1