skel-svelte-snowpack/.drone.yml

28 lines
753 B
YAML
Raw Permalink Normal View History

2020-11-12 11:18:15 +01:00
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]