ci: auth with gh to get circumvent rate limit
Some checks failed
ci/woodpecker/cron/flake-lock-update Pipeline failed
Some checks failed
ci/woodpecker/cron/flake-lock-update Pipeline failed
This commit is contained in:
parent
db9a30785a
commit
3c49477384
1 changed files with 5 additions and 3 deletions
|
@ -10,9 +10,11 @@ when:
|
||||||
steps:
|
steps:
|
||||||
update:
|
update:
|
||||||
image: nixos/nix
|
image: nixos/nix
|
||||||
commands:
|
commands: |
|
||||||
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
|
echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
|
||||||
- nix flake update
|
echo $GH_PAT >> /etc/nix/nix.conf
|
||||||
|
nix flake update
|
||||||
|
secrets: [ gh_pat ]
|
||||||
push-changes:
|
push-changes:
|
||||||
image: appleboy/drone-git-push
|
image: appleboy/drone-git-push
|
||||||
settings:
|
settings:
|
||||||
|
|
Loading…
Reference in a new issue