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
13
.drone.yml
13
.drone.yml
|
@ -15,9 +15,11 @@ steps:
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: byteflair/scp
|
image: byteflair/scp
|
||||||
commands:
|
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
|
kind: pipeline
|
||||||
|
@ -38,5 +40,6 @@ steps:
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: byteflair/scp
|
image: byteflair/scp
|
||||||
commands:
|
commands:
|
||||||
- ssh 'light@5.75.206.84' 'rm -rf /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'
|
mv ./build ./bonfire
|
||||||
|
scp -r './bonfire/' 'light@5.75.206.84:/home/light/'
|
||||||
|
|
Loading…
Add table
Reference in a new issue