bonfire/.drone.yml
light7734 6f9cd8d0a1
Some checks reported errors
continuous-integration/drone/push Build encountered an error
ci: move deployment to ryali
2025-08-24 10:17:28 +03:30

37 lines
499 B
YAML

kind: pipeline
type: docker
name: deploy_dev
node:
environment: ryali
trigger:
branch:
- main
steps:
- name: build
image: node:latest
commands:
- npm install
- npm run build
- rm -rf /bonfire_dev/*
- mv ./build/* /bonfire_dev/
---
kind: pipeline
type: docker
name: deploy_prod
node:
environment: ryali
event:
- tag
steps:
- name: build
image: node:latest
commands:
- npm install
- npm run build
- rm -rf /bonfire/*
- mv ./build/* /bonfire/