mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
merge #1
This commit is contained in:
commit
f556ff5989
1 changed files with 12 additions and 2 deletions
|
|
@ -8,7 +8,15 @@ with lib; {
|
|||
gh-actions.env.CACHIX_SIGNING_KEY = "\${{ secrets.CACHIX_SIGNING_KEY }}";
|
||||
|
||||
gh-actions = {
|
||||
on = {
|
||||
on = let
|
||||
paths = [ "nix/*" "ci/*" ];
|
||||
in {
|
||||
push = {
|
||||
inherit paths;
|
||||
};
|
||||
pull_request = {
|
||||
inherit paths;
|
||||
};
|
||||
schedule = [ {
|
||||
cron = "0 */6 * * *";
|
||||
} ];
|
||||
|
|
@ -39,7 +47,9 @@ with lib; {
|
|||
export GIT_{COMMITTER,AUTHOR}_EMAIL=kat@kittywit.ch
|
||||
export GIT_{COMMITTER,AUTHOR}_NAME=kat witch
|
||||
git commit --message="ci-trusted: niv update"
|
||||
GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" git push
|
||||
git remote add gitea ssh://gitea@git.kittywit.ch:62954/kat/nixfiles.git
|
||||
GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" \
|
||||
git push gitea master
|
||||
fi
|
||||
fi
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue