ci: add deployment via scp
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
light7734 2025-08-08 13:45:54 +03:30
parent c4a4031065
commit d17224bcc6
Signed by: light7734
GPG key ID: 8C30176798F1A6BA

View file

@ -1,16 +1,19 @@
kind: pipeline kind: pipeline
type: docker type: docker
name: default name: deploy
trigger:
branch:
- main
steps: steps:
- name: build_deploy - name: build
privileged: true privileged: true
image: node:latest image: node:latest
commands: commands:
- npm install - npm install
- npm run build - npm run build
- cp -r ./build/* /bonfire/
- ls . - name: build
- ls / image: byteflair/scp
- ls /bonfire/ commands:
- cat /bonfire/index.html - scp -r ./build light@5.75.206.84:/home/light/bonfire_dev