ci: fix quote problem (i hope)
Some checks reported errors
continuous-integration/drone/pr Build was killed
Some checks reported errors
continuous-integration/drone/pr Build was killed
This commit is contained in:
parent
03916b0f3e
commit
cec117d127
1 changed files with 4 additions and 10 deletions
14
.drone.yml
14
.drone.yml
|
@ -111,14 +111,8 @@ steps:
|
|||
- sphinx-build -M html . .
|
||||
|
||||
- mv ./html light_docs_dev_staging
|
||||
- ssh light@5.75.206.84 "sudo rm -rf /home/light/light_docs_dev_staging"
|
||||
- scp -r ./light_docs_dev_staging light@5.75.206.84:/home/light/
|
||||
- ssh light@5.75.206.84 "sudo rm -rf /home/light/light_docs_dev/*"
|
||||
- ssh light@5.75.206.84 "sudo mv /home/light/light_docs_dev_staging/* /home/light/light_docs_dev/"
|
||||
|
||||
# Stage
|
||||
- ssh 'light@5.75.206.84' 'sudo rm -rf /home/light/light_docs_dev_staging'
|
||||
- scp -r './light_docs_dev_staging' 'light@5.75.206.84:/home/light/'
|
||||
|
||||
# Move to endpoint
|
||||
- ssh 'light@5.75.206.84' 'sudo rm -rf /home/light/light_docs_dev/*'
|
||||
- ssh 'light@5.75.206.84' 'sudo mv /home/light/light_docs_dev_staging/* /home/light/light_docs_dev/'
|
||||
|
||||
# Remove staging
|
||||
- ssh 'light@5.75.206.84' 'sudo rm -rf /home/light/light_docs_dev_staging'
|
||||
|
|
Loading…
Add table
Reference in a new issue