Update .gitlab-ci.yml file
This commit is contained in:
parent
75d2c9c869
commit
498c76a9f6
@ -22,9 +22,17 @@ localazy update:
|
||||
paths:
|
||||
- .yarn-cache/
|
||||
script:
|
||||
- git config user.email "${CI_EMAIL}"
|
||||
- git config user.name "${CI_USERNAME}"
|
||||
- git remote add gitlab_origin https://${CI_USERNAME}:${CI_ACCESS_TOKEN}@gitlab.com/path-to-project.git
|
||||
- cd tools/localazy
|
||||
- yarn install --cache-folder .yarn-cache
|
||||
- yarn start
|
||||
- cd ../..
|
||||
- git add .
|
||||
- git commit -m "push back from pipeline"
|
||||
- git push gitlab_origin HEAD:main -o ci.skip
|
||||
|
||||
rules:
|
||||
- if: $LOCALAZY_RUN
|
||||
- changes:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user