fix ci
Some checks failed
ci/woodpecker/cron/flake-update Pipeline failed

This commit is contained in:
Sakooooo 2025-01-07 09:19:39 +04:00
parent 73ddda7403
commit a2df3beb74
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -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: