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