Update '.drone.yml'

This commit is contained in:
Illia Chub 2021-12-08 07:02:02 +02:00
parent 0d9cb91d5f
commit b61ad9eebf

View file

@ -6,12 +6,9 @@ name: default
steps:
- name: translate
commands:
- ./translate_docs.sh main.py
- cd /var/www/docs.selfprivacy.org
- translate_docs
- cd src/ru
- mdbook build
- cd ../../src/en
- mdbook build
- cd ../../src/ru
- scp -ri ~/.ssh/deploy book/ root@selfprivacy.org:/var/www/docs.selfprivacy.org/src/ru
- cd ../../src/en
- scp -ri ~/.ssh/deploy book/ root@selfprivacy.org:/var/www/docs.selfprivacy.org/src/en