meta: initial drone pipeline
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Kazhnuz 2022-03-26 13:50:04 +01:00
parent 6486d144ab
commit 425c7f6ff2

35
.drone.yml Normal file
View file

@ -0,0 +1,35 @@
kind: pipeline
name: production
when:
event: [ push ]
branch: [ master ]
clone:
git:
image: plugins/git
pull: true
steps:
- name: build
image: node:latest
commands:
- npm install -g gulp
- npm i
- gulp
- name: deploy
image: drillster/drone-rsync
settings:
hosts:
from_secret: deploy_host
port:
from_secret: deploy_port
user:
from_secret: deploy_user
key:
from_secret: deploy_key
target:
from_secret: deploy_target
source: ./dist
recursive: true
delete: true