Add cachix auth token env.
This commit is contained in:
parent
0e9ebf5d8d
commit
6854c4bf32
1 changed files with 2 additions and 0 deletions
|
@ -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
|
Reference in a new issue