From 5fd2207ed43f7649deefa61837b908b82525e8fd Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Tue, 29 Sep 2020 13:20:04 -0500 Subject: [PATCH] Set remote URl in git origin --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f0570a6..0ac2196 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -64,8 +64,9 @@ update_catalogs: - 'git config user.name "Windows runner"' - 'git config user.email "manuel@manuelcortez.net"' - 'git add .' + - 'git remote set-url --push origin git@code.manuelcortez.net:$env:CI_PROJECT_PATH' - 'git commit -m "Updated locales"' - - 'git push origin HEAD:master' + - 'git push origin HEAD:$env:CI_COMMIT_REF_NAME' only: - master