Update .gitlab-ci.yml file

This commit is contained in:
Slava
2023-08-28 20:02:19 +00:00
parent d21c529591
commit 19e0acdf6d

View File

@@ -2,15 +2,18 @@ stages:
- prepare # List of stages for jobs, and their order of execution - prepare # List of stages for jobs, and their order of execution
- release - release
image: python:3.10
first_job:
stage: .pre
script:
- 'pip install requests'
- 'git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gl.beaconborn.ru/bacon/translation-generator.git'
prepare_job: prepare_job:
stage: prepare stage: prepare
image: python:3.10
script: script:
- 'pip install requests'
- 'git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gl.beaconborn.ru/bacon/translation-generator.git'
- 'python3 translation-generator/main.py $CI_PROJECT_DIR/WPE-2/data/ > test.txt' - 'python3 translation-generator/main.py $CI_PROJECT_DIR/WPE-2/data/ > test.txt'
- 'ls -al' - 'ls -al'