mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
ci: Use HEAD:main instead of main
This commit is contained in:
parent
67f749c1dd
commit
a07bedd8a0
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ with lib; {
|
||||||
git commit --message="ci: niv update"
|
git commit --message="ci: niv update"
|
||||||
if [[ $GITHUB_REF = refs/heads/main ]]; then
|
if [[ $GITHUB_REF = refs/heads/main ]]; then
|
||||||
GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" \
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue