From d17224bcc62b49aa1024abeb5e13a08859718230 Mon Sep 17 00:00:00 2001 From: light7734 Date: Fri, 8 Aug 2025 13:45:54 +0330 Subject: [PATCH] ci: add deployment via scp --- .drone.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index aaf3191..48d16f4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,16 +1,19 @@ kind: pipeline -type: docker -name: default +type: docker +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