Update .gitlab-ci.yml file
This commit is contained in:
@@ -9,18 +9,19 @@ prepare_job:
|
|||||||
stage: prepare
|
stage: prepare
|
||||||
image: python:3.10
|
image: python:3.10
|
||||||
script:
|
script:
|
||||||
# - 'pip install requests'
|
- 'apt install zip'
|
||||||
- uname -a
|
- 'pip install requests'
|
||||||
- 'rm -rf {.git, .gitignore, gitattributes, .gitlab-ci.yml, CHANGELOG, README.md}'
|
- mkdir WPE-2 && mv data WPE-2/ && mv modinfo.lua WPE-2/ && mv thumb.png WPE-2/
|
||||||
- mkdir WPE-2
|
- 'git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gl.beaconborn.ru/bacon/translation-generator.git'
|
||||||
- mv data WPE-2/
|
- 'python3 translation-generator/main.py $CI_PROJECT_DIR/WPE-2/data/'
|
||||||
- mv modinfo.lua WPE-2/
|
- 'cd WPE-2 && zip -r * WPE-2.0_$CI_PIPELINE_IID.zip'
|
||||||
- mv thumb.png WPE-2/
|
- 'ls -al'
|
||||||
- 'git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gl.beaconborn.ru/bacon/translation-generator.git'
|
artifacts:
|
||||||
- 'ls -al'
|
name: "WPE-2.0_$CI_PIPELINE_IID"
|
||||||
- 'ls -al $CI_PROJECT_DIR/WPE-2/data/'
|
paths:
|
||||||
- 'ls -al WPE-2/'
|
- WPE-2/
|
||||||
- 'python3 translation-generator/main.py $CI_PROJECT_DIR/WPE-2/data/'
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user