Update .gitlab-ci.yml file
This commit is contained in:
parent
7f08355311
commit
63e53cb2ed
@ -24,6 +24,7 @@ localazy update:
|
|||||||
# - git config user.email "${CI_EMAIL}"
|
# - git config user.email "${CI_EMAIL}"
|
||||||
# - git config user.name "${CI_USERNAME}"
|
# - 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 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
|
- cd tools/localazy
|
||||||
- yarn install --cache-folder .yarn-cache
|
- yarn install --cache-folder .yarn-cache
|
||||||
- yarn start
|
- yarn start
|
||||||
@ -35,9 +36,9 @@ localazy update:
|
|||||||
then
|
then
|
||||||
git status
|
git status
|
||||||
git commit -m "push back localazy update"
|
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 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.knecon.com/redactmanager/red-ui.git
|
||||||
git push
|
# git push
|
||||||
fi
|
fi
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE == "schedule"
|
- if: $CI_PIPELINE_SOURCE == "schedule"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user