From a07bedd8a0bc552b3c0c31a1bd68d36f3dd3974f Mon Sep 17 00:00:00 2001 From: kat witch Date: Thu, 20 May 2021 00:20:40 +0100 Subject: [PATCH] ci: Use HEAD:main instead of main --- ci/niv-cron.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/niv-cron.nix b/ci/niv-cron.nix index 6a19438c..c9e853e8 100644 --- a/ci/niv-cron.nix +++ b/ci/niv-cron.nix @@ -85,7 +85,7 @@ with lib; { git commit --message="ci: niv update" if [[ $GITHUB_REF = refs/heads/main ]]; then GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" \ - git push ssh://gitea@git.kittywit.ch:62954/kat/nixfiles.git main + git push ssh://gitea@git.kittywit.ch:62954/kat/nixfiles.git HEAD:main fi fi