added drone ci config
This commit is contained in:
parent
436c0babce
commit
0c559245f5
27
.drone.yml
Normal file
27
.drone.yml
Normal file
@ -0,0 +1,27 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
steps:
|
||||
- name: build js app
|
||||
image: node
|
||||
commands:
|
||||
- yarn install
|
||||
- yarn build
|
||||
|
||||
- name: deploy
|
||||
image: apairon/mark2web:latest
|
||||
pull: never
|
||||
environment:
|
||||
RSYNC_USER: BASISPANEL_RSYNC_USERNAME
|
||||
RSYNC_PASS: # SET PASSWORD IN ci.basehosts.de
|
||||
from_secret: rsync_master
|
||||
commands:
|
||||
- '
|
||||
rsync -rlcgD --perms -i -u -v --stats --progress
|
||||
--delete
|
||||
-e "sshpass -p $${RSYNC_PASS} ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 22222"
|
||||
build/
|
||||
$${RSYNC_USER}@ftp1.webmakers.de:./'
|
||||
when:
|
||||
branch: [master]
|
||||
event: [push]
|
Loading…
Reference in New Issue
Block a user