Skip to content

Commit 1c0ec45

Browse files
committed
Add cachix to action
1 parent 61cd698 commit 1c0ec45

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/push.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,22 @@ jobs:
2929
purge-last-accessed: 0
3030
purge-primary-key: never
3131

32+
- uses: cachix/cachix-action@v15
33+
with:
34+
name: polyfrost
35+
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
36+
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}"
37+
skipPush: true
38+
3239
- name: Check nix flake
3340
run: nix -L flake check --keep-going
3441

3542
- name: Build backend with nix
3643
run: nix -L build .#backend
3744

45+
- name: Push to Cachix
46+
run: cachix push polyfrost ./result
47+
3848
- name: Upload built nix package
3949
uses: actions/upload-artifact@v4
4050
with:

0 commit comments

Comments
 (0)