From f29d791ab8a3dc6b5988739c31393b05be52b671 Mon Sep 17 00:00:00 2001 From: Slava Date: Mon, 28 Aug 2023 22:43:27 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a86f9bd..8eaa36c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,6 +14,10 @@ prepare_job: - 'python3 translation-generator/main.py $CI_PROJECT_DIR' - 'ls -al' - cat test.txt + - git remote rm origin && git remote add origin "git@$GITLAB_URL:${CI_PROJECT_PATH}.git" + - git add test.txt + - git commit -m "Commit message here :)" || echo "No changes, nothing to commit!" + - git push origin HEAD:$CI_COMMIT_REF_NAME artifacts: paths: - test.txt