From b591e93a36048e205c4518ac9f09496319609d46 Mon Sep 17 00:00:00 2001 From: Slava Date: Tue, 29 Aug 2023 01:16:52 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9201ea3..96864ba 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,42 +13,10 @@ prepare_job: - 'python3 translation-generator/main.py $CI_PROJECT_DIR' - 'git commit -m "Updated translate"' - after_script: - - 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )' - ## - ## Run ssh-agent (inside the build environment) - ## - - eval $(ssh-agent -s) - ## - ## Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store - ## We're using tr to fix line endings which makes ed25519 keys work - ## without extra base64 encoding. - ## https://gitlab.com/gitlab-examples/ssh-private-key/issues/1#note_48526556 - ## - - echo "$SSH_PRIVATE_KEY" - ## - ## Create the SSH directory and give it the right permissions - ## - - mkdir -p ~/.ssh - - chmod 700 ~/.ssh - ## - ## Assuming you created the SSH_SERVER_HOST_KEYS variable, uncomment the - ## following two lines. - ## - - echo "$SSH_SERVER_HOST_KEYS" >> ~/.ssh/known_hosts - - chmod 644 ~/.ssh/known_hosts - - git config --global user.email 'bot@hzdr.de' - - git config --global user.name 'Bot' - - git branch -vv - - 'git push -o ci.skip https://gitlab-ci-token:$CI_JOB_TOKEN@$CI_SERVER_HOST/$CI_PROJECT_PATH.git origin HEAD:testing' - - - - artifacts: paths: - - 'data/localization/ru.po' + - 'ru.po' release_job: