Fix remote URL

This commit is contained in:
Fedor Korotkiy 2023-03-10 15:56:48 +04:00
parent ea588df35d
commit d0251efca1

View file

@ -66,7 +66,7 @@ push-to-github:
- testtool list-private-files > /tmp/private_files.txt - testtool list-private-files > /tmp/private_files.txt
- git filter-repo --force --paths-from-file /tmp/private_files.txt --invert-path - git filter-repo --force --paths-from-file /tmp/private_files.txt --invert-path
- git checkout -b main - git checkout -b main
- git remote add -f github https://prime:${CI_PUSH_TOKEN}@gitlab.com/slon/shad-go.git - git remote add -f github git@github.com:slon/shad-go.git
- echo $GITHUB_PUSH_KEY | base64 -d > private.key - echo $GITHUB_PUSH_KEY | base64 -d > private.key
- env GIT_SSH_COMMAND="ssh -i ${PWD}/private.key" git push github main - env GIT_SSH_COMMAND="ssh -i ${PWD}/private.key" git push github main