Fix access token conflicts
This commit is contained in:
parent
da293b531f
commit
1fd83754b3
|
@ -22,9 +22,10 @@ jobs:
|
|||
uses: cachix/install-nix-action@v23
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
github_access_token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
|
||||
|
||||
- name: Flake check
|
||||
run: unset SSH_PRIVATE_KEY && unset AUTOUPDATE_TOKEN && sleep 900 && nix flake check
|
||||
run: nix flake check
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -44,6 +45,7 @@ jobs:
|
|||
uses: cachix/install-nix-action@v23
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
github_access_token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
|
||||
|
||||
- name: Load ssh key
|
||||
uses: webfactory/ssh-agent@v0.8.0
|
||||
|
|
|
@ -19,8 +19,9 @@ jobs:
|
|||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v23
|
||||
with:
|
||||
github_access_token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
|
||||
extra_nix_config: |
|
||||
access-tokens = github.com=${{ secrets.AUTOUPDATE_TOKEN }}
|
||||
access-tokens = gitnext.lewd.wtf=${{ secrets.AUTOUPDATE_TOKEN }}
|
||||
- name: Update flake.lock
|
||||
uses: DeterminateSystems/update-flake-lock@v20
|
||||
env:
|
||||
|
|
Loading…
Reference in New Issue