This commit is contained in:
parent
306ad8ed63
commit
51c341f2ab
1 changed files with 3 additions and 2 deletions
|
@ -16,9 +16,10 @@ steps:
|
|||
- name: deploy
|
||||
image: byteflair/scp
|
||||
commands:
|
||||
- ssh 'light@5.75.206.84' 'rm -rf /home/light/dazzle_dev/*'
|
||||
- ssh -t 'light@5.75.206.84' 'rm -rf /home/light/dazzle_dev/*'
|
||||
- mv ./build ./dazzle_dev
|
||||
- scp -r './dazzle_dev/' 'light@5.75.206.84:/home/light/'
|
||||
- scp -t -r './dazzle_dev/' 'light@5.75.206.84:/home/light/'
|
||||
- ssh -t 'light@5.75.206.84' 'chmod -R 755 /home/light/dazzle_dev/'
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
|
|
Loading…
Add table
Reference in a new issue