Update .gitlab-ci.yml file

This commit is contained in:
Slava
2023-08-28 20:04:11 +00:00
parent 19e0acdf6d
commit 812a652bed

View File

@@ -4,16 +4,12 @@ stages:
image: python:3.10 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
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'
@@ -34,6 +30,7 @@ release_job:
- data/**/* - data/**/*
- modinfo.lua - modinfo.lua
- thumb.png - thumb.png
- test.txt
script: script:
- echo "Release WPE 2.0_$CI_COMMIT_SHORT_SHA" - echo "Release WPE 2.0_$CI_COMMIT_SHORT_SHA"