ci: attempt fix deployment
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
24214a7117
commit
afe0e68288
1 changed files with 8 additions and 5 deletions
11
.drone.yml
11
.drone.yml
|
@ -16,8 +16,10 @@ steps:
|
|||
- name: deploy
|
||||
image: byteflair/scp
|
||||
commands:
|
||||
- ssh 'light@5.75.206.84' 'rm -rf /home/light/bonfire_dev/*'
|
||||
- scp -r './build/*' 'light@5.75.206.84:/home/light/bonfire_dev'
|
||||
- |
|
||||
ssh 'light@5.75.206.84' 'rm -rf /home/light/bonfire_dev/*'
|
||||
mv ./build ./bonfire_dev
|
||||
scp -r './bonfire_dev/' 'light@5.75.206.84:/home/light/'
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
|
@ -38,5 +40,6 @@ steps:
|
|||
- name: deploy
|
||||
image: byteflair/scp
|
||||
commands:
|
||||
- ssh 'light@5.75.206.84' 'rm -rf /home/light/bonfire/*'
|
||||
- scp -r './build/*' 'light@5.75.206.84:/home/light/bonfire'
|
||||
ssh 'light@5.75.206.84' 'rm -rf /home/light/bonfire/*'
|
||||
mv ./build ./bonfire
|
||||
scp -r './bonfire/' 'light@5.75.206.84:/home/light/'
|
||||
|
|
Loading…
Add table
Reference in a new issue