Add CI pipeline
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jake Walker 2022-08-10 14:40:31 +01:00
parent 04396259a0
commit fa2e0cf7f0

28
.drone.yml Normal file
View file

@ -0,0 +1,28 @@
---
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