ci(app): Drone Deployment
This commit is contained in:
parent
35bbb45ff2
commit
613ad99264
15
.drone.yml
15
.drone.yml
@ -37,6 +37,14 @@ kind: pipeline
|
||||
type: exec
|
||||
name: deploy
|
||||
|
||||
server:
|
||||
host:
|
||||
from_secret: host
|
||||
user:
|
||||
from_secret: user
|
||||
ssh_key:
|
||||
from_secret: ssh_key
|
||||
|
||||
plateform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
@ -47,13 +55,12 @@ trigger:
|
||||
event:
|
||||
- push
|
||||
|
||||
clone:
|
||||
disabled: true
|
||||
|
||||
steps:
|
||||
- name: deploy frontend
|
||||
commands:
|
||||
- echo "deploying frontend TODO"
|
||||
- cd frontend
|
||||
- npm run build
|
||||
- install -d "dist/" "$HOME/dist"
|
||||
- name: deploy backend
|
||||
commands:
|
||||
- echo "deploying backend TODO"
|
||||
|
Loading…
Reference in New Issue
Block a user