fix(ci): use --follow-tags instead of --tags to avoid re-pushing existing tags
This commit is contained in:
@@ -53,6 +53,6 @@ jobs:
|
|||||||
chmod 600 ~/.ssh/id_rsa_gh_mirror
|
chmod 600 ~/.ssh/id_rsa_gh_mirror
|
||||||
ssh-keyscan github.com >> ~/.ssh/known_hosts 2>/dev/null
|
ssh-keyscan github.com >> ~/.ssh/known_hosts 2>/dev/null
|
||||||
GIT_SSH_COMMAND="ssh -i ~/.ssh/id_rsa_gh_mirror -o IdentitiesOnly=yes" \
|
GIT_SSH_COMMAND="ssh -i ~/.ssh/id_rsa_gh_mirror -o IdentitiesOnly=yes" \
|
||||||
git push git@github.com:mathiasb/hyperguild.git HEAD:main --tags
|
git push git@github.com:mathiasb/hyperguild.git HEAD:main --follow-tags
|
||||||
rm ~/.ssh/id_rsa_gh_mirror
|
rm ~/.ssh/id_rsa_gh_mirror
|
||||||
echo "✓ Mirrored to GitHub"
|
echo "✓ Mirrored to GitHub"
|
||||||
|
|||||||
Reference in New Issue
Block a user