echo-web/.drone.yml
Jake W fa2e0cf7f0
All checks were successful
continuous-integration/drone/push Build is passing
Add CI pipeline
2022-08-10 14:43:16 +01:00

28 lines
457 B
YAML

---
kind: pipeline
type: kubernetes
name: deploy
steps:
- name: frontend-build
image: node:lts-alpine
commands:
- cd frontend
- yarn install
- yarn run build
- name: frontend-deploy
image: plugins/netlify
settings:
token:
from_secret: netlify_token
site:
from_secret: netlify_site_id
path: ./frontend/dist
prod: true
trigger:
branch:
- main
- dev
event:
- push