Update .gitlab-ci.yml file

This commit is contained in:
Christoph Schabert 2024-09-23 11:31:08 +02:00
parent 7f08355311
commit 63e53cb2ed

View File

@ -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"