bonfire/.drone.yml
light7734 b7f951b9c7
All checks were successful
continuous-integration/drone/push Build is passing
ci: fix marshmellow error
2025-08-24 10:20:02 +03:30

36 lines
506 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
trigger:
event:
- tag
steps:
- name: build
image: node:latest
commands:
- npm install
- npm run build
- rm -rf /bonfire/*
- mv ./build/* /bonfire/