This repository has been archived on 2022-06-23. You can view files and clone it, but cannot push or open issues/pull-requests.
2021-12-06 21:09:26 +02:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: exec
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: translate
|
|
|
|
commands:
|
2022-01-18 07:50:34 +02:00
|
|
|
- |
|
2022-01-18 07:10:32 +02:00
|
|
|
for inputFile in $$( ls src/ru/src )
|
2022-01-18 07:00:46 +02:00
|
|
|
do
|
2022-01-18 07:20:39 +02:00
|
|
|
python3 main.py --file src/ru/src/$${inputFile} --output src/en/src/$${inputFile}
|
2022-01-18 07:00:46 +02:00
|
|
|
done
|
|
|
|
|
|
|
|
- name: build
|
|
|
|
commands:
|
2021-12-06 21:09:26 +02:00
|
|
|
- cd src/ru
|
|
|
|
- mdbook build
|
|
|
|
- cd ../../src/en
|
2022-01-18 07:00:46 +02:00
|
|
|
- mdbook build
|
|
|
|
|