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