Fix upload step
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Davide Depau 2020-04-18 20:38:13 +02:00
parent 86f94700a4
commit a6bd7e03e6

View file

@ -12,21 +12,20 @@ steps:
- name: deploy
image: drillster/drone-rsync
hosts:
- 10.69.0.22
settings:
hosts: 10.69.0.22
port: 3022
key:
from_secret: starlark_ssh_key
source: ./lib
target: /starlark/lib_new
recursive: true
exclude:
- ".git/"
script:
- cd /starlark
- mv lib lib_old
- mv lib_new lib
- rm -Rf lib_old
recursive: 'true'
exclude: ".git/"
script: |
cd /starlark
mv lib lib_old
mv lib_new lib
rm -Rf lib_old
when:
branch:
- master