my over complex system configurations
dotfiles.isabelroses.com/
nixos
nix
flake
dotfiles
linux
1name: Build and deploy docs
2
3on:
4 workflow_dispatch:
5 push:
6 branches:
7 - main
8 paths:
9 - "docs/**/*"
10 - "modules/**/*"
11 - ".github/workflows/docs.yml"
12 - ".github/actions/**/*"
13
14permissions: {}
15
16jobs:
17 build:
18 runs-on: ubuntu-latest
19
20 steps:
21 - name: Checkout
22 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
23 with:
24 persist-credentials: false
25
26 - name: Install Lix
27 uses: samueldr/lix-gha-installer-action@7b7f14d320d6aacfb65bd1ef761566b3b69e474c # v2026-02-22
28 with:
29 extra_nix_config: |
30 substituters = https://cache.nixos.org/ https://nix-community.cachix.org https://isabelroses.cachix.org https://catppuccin.cachix.org https://extersia.cachix.org
31 trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= isabelroses.cachix.org-1:mXdV/CMcPDaiTmkQ7/4+MzChpOe6Cb97njKmBQQmLPM= catppuccin.cachix.org-1:noG/4HkbhJb+lUAdKrph6LaozJvAeEEZj4N732IysmU= extersia.cachix.org-1:ZHy9765xrhn4lDKGTzWWykHC+B091oTqNxClgc78MQU=
32
33 - name: Build docs
34 run: nix build .#docs
35
36 - name: Upload Pages Artifact
37 uses: "actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9" # v5.0.0
38 with:
39 path: "result/"
40
41 deploy:
42 needs: build
43 runs-on: "ubuntu-latest"
44
45 permissions:
46 pages: "write"
47 id-token: "write"
48
49 environment:
50 name: github-pages
51 url: ${{ steps.deployment.outputs.page_url }}
52
53 steps:
54 - name: Deploy to GitHub Pages
55 id: deployment
56 uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0