Added deploy
This commit is contained in:
parent
7f4f564bce
commit
eba0cf119f
1 changed files with 6 additions and 1 deletions
|
@ -45,4 +45,9 @@ jobs:
|
|||
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
|
||||
- name: Push Deployment to runners
|
||||
if: success()
|
||||
env:
|
||||
CACHIX_ACTIVATE_TOKEN: ${{ secrets.CACHIX_ACTIVATE_TOKEN }}
|
||||
run: nix build ".#top.${{ matrix.system }}" --json | jq -r .[].drvPath | cachix deploy activate
|
||||
|
|
Loading…
Reference in a new issue