Set remote URl in git origin

This commit is contained in:
Manuel Cortez 2020-09-29 13:20:04 -05:00
parent 376407e6fd
commit 5fd2207ed4

View File

@ -64,8 +64,9 @@ update_catalogs:
- 'git config user.name "Windows runner"' - 'git config user.name "Windows runner"'
- 'git config user.email "manuel@manuelcortez.net"' - 'git config user.email "manuel@manuelcortez.net"'
- 'git add .' - 'git add .'
- 'git remote set-url --push origin git@code.manuelcortez.net:$env:CI_PROJECT_PATH'
- 'git commit -m "Updated locales"' - 'git commit -m "Updated locales"'
- 'git push origin HEAD:master' - 'git push origin HEAD:$env:CI_COMMIT_REF_NAME'
only: only:
- master - master