-
-
Notifications
You must be signed in to change notification settings - Fork 7
37 lines (36 loc) · 900 Bytes
/
docs.yml
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
name: Docs
on:
push:
branches:
- master
paths:
- "docs/**"
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v17
- uses: cachix/cachix-action@v10
with:
name: jmgilman
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- run: nix develop -c just check-docs
docs:
runs-on: ubuntu-latest
needs: [check]
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v17
- uses: cachix/cachix-action@v10
with:
name: jmgilman
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Build
run: nix develop -c just make-docs
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs/book