Skip to content

Commit 82d4aa4

Browse files
feat(workflows/doc): use cache.tvl.su over cachix
This will avoid compiling cheddar in GitHub Actions. The rest of the build is very quick and doesn't really benefit from persistent cache between runs.
1 parent 97c161f commit 82d4aa4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/doc.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ jobs:
1818
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
1919
- name: Build web output
2020
run: |
21-
nix-build -A deploy docs/web.nix
21+
nix-build -A deploy docs/web.nix \
22+
--option substituters 'https://cache.tvl.su' \
23+
--option trusted-public-keys 'cache.tvl.su:kjc6KOMupXc1vHVufJUoDUYeLzbwSr9abcAKdn/U1Jk='
2224
./result -w tmp
2325
- name: Deploy output to GitHub Pages
2426
uses: JamesIves/github-pages-deploy-action@4.1.7

0 commit comments

Comments
 (0)