dazzle/.drone.yml
light7734 e66a26a209
All checks were successful
continuous-integration/drone/push Build is passing
ci: fix deploy dev deploying to prod
2025-08-23 18:10:29 +03:30

35 lines
523 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_dev/*
- mv ./build/* /dazzle_dev/
---
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/