diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2a66308db..8ace6ab80 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,6 +24,7 @@ localazy update: # - git config user.email "${CI_EMAIL}" # - git config user.name "${CI_USERNAME}" # - git remote add gitlab_origin https://${CI_USERNAME}:${CI_ACCESS_TOKEN}@gitlab.knecon.com/redactmanager/red-ui.git + - git push https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.knecon.com/redactmanager/red-ui.git - cd tools/localazy - yarn install --cache-folder .yarn-cache - yarn start @@ -35,9 +36,9 @@ localazy update: then git status git commit -m "push back localazy update" - # git push gitlab_origin HEAD:${CI_COMMIT_REF_NAME} + git push gitlab_origin HEAD:${CI_COMMIT_REF_NAME} # git push https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.knecon.com/redactmanager/red-ui.git - git push + # git push fi rules: - if: $CI_PIPELINE_SOURCE == "schedule"