Skip to content

feat: add mkDevice helper #5

feat: add mkDevice helper

feat: add mkDevice helper #5

Workflow file for this run

name: Build and deploy documentation
on:
push:
branches:
- main
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
timeout-minutes: 40
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pages
uses: actions/configure-pages@v3
- name: Install nix
uses: cachix/install-nix-action@v26
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix build .#docs --show-trace
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "result"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4