dazzle/.drone.yml
light7734 df3743c59f
Some checks failed
continuous-integration/drone/push Build is failing
ci: move deployment to ryali
2025-08-23 15:11:14 +03:30

35 lines
519 B
YAML

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