Skip to content

update flake.lock (#273) #270

update flake.lock (#273)

update flake.lock (#273) #270

Workflow file for this run

name: Deploy Documentation
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
name: Build Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Install Nix
uses: cachix/install-nix-action@v31
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Setup Cachix
uses: cachix/cachix-action@v17
with:
name: kiriwalawren
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Build Documentation
run: |
nix build .#docs -L
- name: Copy build artifacts
run: |
cp -r result/ _site/
- name: Upload artifact
uses: actions/upload-pages-artifact@v5
deploy:
name: Deploy to GitHub Pages
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5