-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (35 loc) · 1.01 KB
/
Copy pathchecks.yaml
File metadata and controls
40 lines (35 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: "CI"
on:
push:
branches: [main]
pull_request:
# schedule:
# - cron: "0 0 * * SUN" # every sunday
jobs:
nix-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.5.0
with:
submodules: true
fetch-depth: 0
- uses: nixbuild/nix-quick-install-action@v25
with:
# nix_version: "2.13.2"
nix_conf: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v14
with:
name: gtrunsec
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Build Doc
run: nix run .#x86_64-linux.automation.entrypoints.mkdoc --refresh
- name: Build Quarto
run: |
nix develop .#doc --show-trace --refresh --command mkQuarto
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
branch: gh-pages
folder: ./docs/quarto/publish