From 498c76a9f66d313046bedcb921ff6b97201271e0 Mon Sep 17 00:00:00 2001 From: Christoph Schabert Date: Tue, 12 Sep 2023 08:31:28 +0200 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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: