From 14b3452c27c49a9fa200f3eb7316c3cb2b0bee78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com> Date: Thu, 21 Oct 2021 15:57:34 +0200 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 63cf879..379ec4c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,7 +35,7 @@ deploy: - if [ "$CHANGES" -gt "0" ]; then git status; git commit -m "Update public from ${CI_COMMIT_SHORT_SHA}"; - git push HEAD:master HEAD:master -o ci.skip; + git push "https://${CI_USER_NAME}:${CI_ACCESS_TOKEN}@${CI_REPOSITORY_URL#*@}" "HEAD:${CI_COMMIT_REF_NAME}" -o skip-ci; fi only: - master \ No newline at end of file -- GitLab