Add cachix auth token env.
All checks were successful
Build / nix-build (native-x86_64, durincore) (pull_request) Successful in 24m30s
Build / nix-build (native-aarch64, varda) (pull_request) Successful in 47m46s

This commit is contained in:
Joseph Hanson 2024-05-26 17:27:32 -05:00
parent 0e9ebf5d8d
commit 6854c4bf32

View file

@ -45,4 +45,6 @@ jobs:
> >(tee stdout.log) 2> >(tee /tmp/nix-build-err.log >&2) > >(tee stdout.log) 2> >(tee /tmp/nix-build-err.log >&2)
- name: Push to Cachix - name: Push to Cachix
if: success() if: success()
env:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
run: nix build ".#top.${{ matrix.system }}" --json | jq -r .[].drvPath | cachix push hsndev run: nix build ".#top.${{ matrix.system }}" --json | jq -r .[].drvPath | cachix push hsndev