ci: fix new deployment not removing old deployment files
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a9d13c589b
commit
9df89cb9a5
1 changed files with 4 additions and 2 deletions
|
@ -16,7 +16,8 @@ steps:
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: byteflair/scp
|
image: byteflair/scp
|
||||||
commands:
|
commands:
|
||||||
- scp -r ./build light@5.75.206.84:/home/light/bonfire_dev
|
- ssh 'light@5.75.206.84' 'rm -rf /home/light/bonfire_dev'
|
||||||
|
- scp -r './build' 'light@5.75.206.84:/home/light/bonfire_dev'
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
@ -37,4 +38,5 @@ steps:
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: byteflair/scp
|
image: byteflair/scp
|
||||||
commands:
|
commands:
|
||||||
- scp -r ./build light@5.75.206.84:/home/light/bonfire
|
- ssh 'light@5.75.206.84' 'rm -rf /home/light/bonfire'
|
||||||
|
- scp -r './build' 'light@5.75.206.84:/home/light/bonfire'
|
||||||
|
|
Loading…
Add table
Reference in a new issue