bonfire/.drone.yml
light7734 b9f9dbed08
All checks were successful
continuous-integration/drone/push Build is passing
.drone.yml
2025-08-08 14:25:00 +03:30

40 lines
602 B
YAML

kind: pipeline
type: docker
name: deploy_dev
trigger:
branch:
- main
steps:
- name: build
image: node:latest
commands:
- npm install
- npm run build
- name: deploy
image: byteflair/scp
commands:
- scp -r ./build light@5.75.206.84:/home/light/bonfire_dev
---
kind: pipeline
type: docker
name: deploy_prod
trigger:
event:
- tag
steps:
- name: build
image: node:latest
commands:
- npm install
- npm run build
- name: deploy
image: byteflair/scp
commands:
- scp -r ./build light@5.75.206.84:/home/light/bonfire