This commit is contained in:
parent
145fd3602d
commit
a7ef1592a0
|
@ -5,11 +5,7 @@ when:
|
||||||
steps:
|
steps:
|
||||||
update:
|
update:
|
||||||
image: ghcr.io/nixos/nix:latest
|
image: ghcr.io/nixos/nix:latest
|
||||||
environment:
|
|
||||||
GITHUB_TOKEN:
|
|
||||||
from_secret: github_token
|
|
||||||
commands:
|
commands:
|
||||||
- echo 'access-tokens = github.com=$GITHUB_TOKEN' >> /etc/nix/nix.conf
|
|
||||||
- nix --experimental-features 'flakes nix-command' flake update
|
- nix --experimental-features 'flakes nix-command' flake update
|
||||||
- "nix-shell -p git --run 'git config --global user.email 'bot@sako.lol' && git config --global user.name 'sako-ci' && git commit -m 'flake.lock: update' -a'"
|
- "nix-shell -p git --run 'git config --global user.email 'bot@sako.lol' && git config --global user.name 'sako-ci' && git commit -m 'flake.lock: update' -a'"
|
||||||
push:
|
push:
|
||||||
|
|
Loading…
Reference in a new issue