ci: attempt fix deployment
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
light7734 2025-08-09 11:49:44 +03:30
parent 24214a7117
commit afe0e68288
Signed by: light7734
GPG key ID: 8C30176798F1A6BA

View file

@ -16,8 +16,10 @@ 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/'