From 8cf00e75c7489705f3ada6e6915f0afd60cf2fdb Mon Sep 17 00:00:00 2001 From: f Date: Thu, 30 Nov 2023 13:19:48 -0300 Subject: [PATCH] fix: fallar la ci temprano --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a0d86222..f9c125fb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,6 +18,7 @@ assets: - "app/assets/**/*" - ".gitlab-ci.yml" before_script: + - "test -n \"${GITLAB_CI_PUSH_TOKEN}\"" - "git config --global user.email \"${GIT_USER_EMAIL:-$GITLAB_USER_EMAIL}\"" - "git config --global user.name \"${GIT_USER_NAME:-$GITLAB_USER_NAME}\"" - "git remote set-url --push origin \"https://GITLAB_CI_PUSH_TOKEN:${GITLAB_CI_PUSH_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git\""