ci: point branch 'deploy-comin' to successful evaluations

This commit is contained in:
xinyangli 2024-12-21 21:34:44 +08:00
parent c3934c2b56
commit 133e70967f
Signed by: xin
SSH key fingerprint: SHA256:UU5pRTl7NiLFJbWJZa+snLylZSXIz5rgHmwjzv8v4oE
2 changed files with 5 additions and 1 deletions

View file

@ -53,3 +53,7 @@ jobs:
git commit -m "Update deployment configurations for all hosts"
git push origin deploy-comin-eval
# After success, reset deploy-comin to new deploy
git checkout -b deploy-comin
git reset --hard deploy

View file

@ -23,7 +23,7 @@ in
{
name = "origin";
url = "https://github.com/xinyangli/nixos-config.git";
branches.main.name = "deploy-comin-eval";
branches.main.name = "deploy-comin";
}
];
hostname = config.networking.hostName;