push to cachix if build succeeds #4

Merged
jahanson merged 2 commits from cachix-push into main 2024-05-26 20:47:09 -05:00
Showing only changes of commit 6854c4bf32 - Show all commits

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