Skip to content

Commit

Permalink
ci: add auth token to all pushes
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed May 17, 2024
1 parent e3b0cb3 commit 403a46f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
- uses: cachix/cachix-action@v14
with:
name: cachix
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
signingKey: ${{ secrets.CACHIX_SIGNING_KEY }}

- name: Update the 'latest' git tag
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ jobs:
name: cachix
cachixBin: '${{ steps.cachix.outputs.cachix_bin }}'
pathsToPush: '${{ steps.cachix.outputs.cachix_out }}'
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'

- name: Setup Cachix cache with dev build
uses: cachix/cachix-action@master
with:
name: cachix
cachixBin: '${{ steps.cachix.outputs.cachix_bin }}'
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'

- run: nix build -L '.#ci' '.#cachix' --show-trace --impure
Expand Down

0 comments on commit 403a46f

Please sign in to comment.