Update .gitlab-ci.yml file
This commit is contained in:
@@ -10,23 +10,12 @@ prepare_job:
|
|||||||
image: python:3.10
|
image: python:3.10
|
||||||
script:
|
script:
|
||||||
- 'pip install requests'
|
- 'pip install requests'
|
||||||
- mkdir WPE-2 && mv data WPE-2/ && mv modinfo.lua WPE-2/ && mv thumb.png WPE-2/
|
|
||||||
- 'git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gl.beaconborn.ru/bacon/translation-generator.git'
|
- '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/'
|
- 'python3 translation-generator/main.py $CI_PROJECT_DIR/WPE-2/data/'
|
||||||
- 'cd WPE-2 && zip -r * WPE-2.0_$CI_PIPELINE_IID.zip'
|
|
||||||
- 'ls -al'
|
- 'ls -al'
|
||||||
artifacts:
|
|
||||||
name: "WPE-2.0_$CI_PIPELINE_IID"
|
|
||||||
paths:
|
|
||||||
- WPE-2/
|
|
||||||
|
|
||||||
|
|
||||||
|
release:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
needs:
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- prepare_job
|
- prepare_job
|
||||||
stage: release # It only runs when *both* jobs in the test stage complete successfully.
|
stage: release # It only runs when *both* jobs in the test stage complete successfully.
|
||||||
|
|||||||
Reference in New Issue
Block a user