ci: remote -tt option from ssh commands
Some checks failed
continuous-integration/drone/pr Build is failing
Some checks failed
continuous-integration/drone/pr Build is failing
This commit is contained in:
parent
756b5aee81
commit
03916b0f3e
1 changed files with 4 additions and 4 deletions
|
@ -113,12 +113,12 @@ steps:
|
||||||
- mv ./html light_docs_dev_staging
|
- mv ./html light_docs_dev_staging
|
||||||
|
|
||||||
# Stage
|
# Stage
|
||||||
- ssh -tt 'light@5.75.206.84' 'sudo rm -rf /home/light/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/'
|
- scp -r './light_docs_dev_staging' 'light@5.75.206.84:/home/light/'
|
||||||
|
|
||||||
# Move to endpoint
|
# Move to endpoint
|
||||||
- ssh -tt 'light@5.75.206.84' 'sudo rm -rf /home/light/light_docs_dev/*'
|
- ssh 'light@5.75.206.84' 'sudo rm -rf /home/light/light_docs_dev/*'
|
||||||
- ssh -tt 'light@5.75.206.84' 'sudo mv /home/light/light_docs_dev_staging/* /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
|
# Remove staging
|
||||||
- ssh -tt 'light@5.75.206.84' 'sudo rm -rf /home/light/light_docs_dev_staging'
|
- ssh 'light@5.75.206.84' 'sudo rm -rf /home/light/light_docs_dev_staging'
|
||||||
|
|
Loading…
Add table
Reference in a new issue