diff --git a/.drone.yml b/.drone.yml index b3786f8..f348cc9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,9 +6,16 @@ name: default steps: - name: translate commands: - - cd /var/www/docs.selfprivacy.org - - translate + - > + for inputFile in $$(ls src/ru/src) + do + python3.9 main.py --file src/ru/src/$${inputFile} --output src/en/src/$${inputFile} + done + +- name: build + commands: - cd src/ru - mdbook build - cd ../../src/en - - mdbook build \ No newline at end of file + - mdbook build + \ No newline at end of file