diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 09c6f1293..7a2239c5d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: