blob: 253336ab1e736e360b93fe853fbd9519dbb5eda0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
kind: pipeline
type: docker
name: production
steps:
- name: deployment
image: drillster/drone-rsync
settings:
hosts: [ "108.61.103.146" ]
port: 7822
user: webuser
exclude: [ ".git*", ".drone.yml" ]
delete: true
recursive: true
key:
from_secret: SSH_KEY
target: /home/webuser/yaroslavps.com/
script:
- cd ~/yaroslavps.com
- zola build --output-dir ~/www/yaroslavps.com
trigger:
branch:
- master
event:
- push
node:
domain: yaroslavps_com
type: docker
|