Update .gitlab-ci.yml file

This commit is contained in:
Christoph Schabert 2023-09-12 08:31:28 +02:00
parent 75d2c9c869
commit 498c76a9f6

View File

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