Update .gitlab-ci.yml file

This commit is contained in:
Slava
2023-08-28 22:48:27 +00:00
parent f29d791ab8
commit ae55d7d7e9

View File

@@ -14,10 +14,8 @@ 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
- git push "https://gitlab-ci-token:$PROJECT_ACCESS_TOKEN@$CI_SERVER_HOST/$CI_PROJECT_PATH.git"
artifacts:
paths:
- test.txt