This commit is contained in:
parent
73ddda7403
commit
a2df3beb74
|
@ -6,10 +6,23 @@ steps:
|
||||||
update:
|
update:
|
||||||
image: ghcr.io/nixos/nix:latest
|
image: ghcr.io/nixos/nix:latest
|
||||||
commands:
|
commands:
|
||||||
- "nix-shell -p git --run 'git config --global user.email 'bot@sako.lol' && git config --global user.name 'sako-ci' && git checkout -b flake-lock-update && nix --experimental-features \"flakes nix-command\" flake update && git commit -m \"flake.lock: update\" -a'"
|
- nix flake update
|
||||||
push:
|
push:
|
||||||
|
image: appleboy/drone-git-push
|
||||||
|
settings:
|
||||||
|
branch: flake-lock-update
|
||||||
|
local_ref: flake-lock-update
|
||||||
|
ssh_key:
|
||||||
|
from_secret: ssh_key
|
||||||
|
remote: ssh://forgejo@git.sako.lol/sako/nixos.git
|
||||||
|
force: false
|
||||||
|
commit: true
|
||||||
|
commit_message: "flake.lock: update"
|
||||||
|
author_name: "sako-ci"
|
||||||
|
author_email: "bot@sako.lol"
|
||||||
|
pr:
|
||||||
image: johnwalkerx/gitea-pull-request-create-plugin:latest
|
image: johnwalkerx/gitea-pull-request-create-plugin:latest
|
||||||
#pull: true
|
pull: true
|
||||||
settings:
|
settings:
|
||||||
gitea_address: https://git.sako.lol
|
gitea_address: https://git.sako.lol
|
||||||
gitea_token:
|
gitea_token:
|
||||||
|
|
Loading…
Reference in a new issue