ci: fix new deployment not removing old deployment files
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
light7734 2025-08-08 14:32:14 +03:30
parent a9d13c589b
commit 9df89cb9a5
Signed by: light7734
GPG key ID: 8C30176798F1A6BA

View file

@ -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'