Install rsync into deploy stage
This commit is contained in:
parent
bff6a570d5
commit
a9bde40964
1 changed files with 1 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ deploy:
|
|||
- mkdir -p ~/.ssh
|
||||
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
||||
script:
|
||||
- 'which rsync || ( apt-get update -y && apt-get install rsync -y )'
|
||||
- mkdir -p "./release-builds"
|
||||
- touch "./release-builds/build-placeholder.txt"
|
||||
- rsync -hrvz -e ssh release-builds/ ci-user@openflexure.bath.ac.uk:/var/www/build/openflexure-ev/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue