diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 34b7fbf..7376bdb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,23 +10,12 @@ prepare_job: image: python:3.10 script: - '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' - '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' - artifacts: - name: "WPE-2.0_$CI_PIPELINE_IID" - paths: - - WPE-2/ - - - - - -needs: +release: dependencies: - prepare_job stage: release # It only runs when *both* jobs in the test stage complete successfully.