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
type: docker
name: default
name: deploy
trigger:
branch:
- main
steps:
- name: build_deploy
- name: build
privileged: true
image: node:latest
commands:
- npm install
- npm run build
- cp -r ./build/* /bonfire/
- ls .
- ls /
- ls /bonfire/
- cat /bonfire/index.html
- name: build
image: byteflair/scp
commands:
- scp -r ./build light@5.75.206.84:/home/light/bonfire_dev