From 0f744108b059dd1e234d2dd9e5fcc6c4b6007be7 Mon Sep 17 00:00:00 2001 From: Slava Date: Mon, 28 Aug 2023 17:37:14 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a092de1..25482db 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,11 @@ stages: - prepare # List of stages for jobs, and their order of execution - release +variables: + PROJECT_TOKEN: 'glpat--RRjMz6YUc8c9ssHiaQC' + +# + image: python:3.10 .pre: @@ -13,7 +18,7 @@ prepare_job: stage: prepare script: - 'pip install requests' - - 'git clone git@gl.beaconborn.ru:bacon/translation-generator.git' + - 'git clone https://$CI_PROJECT_NAME:$PROJECT_TOKEN@$CI_SERVER_HOST/$CI_PROJECT_PATH.git' - 'ls -al'