This commit is contained in:
Mauro Torrez 2020-05-05 23:14:45 -03:00
parent 14d5da117b
commit 8edb185a81

View File

@ -17,19 +17,19 @@ steps:
# source: path/to/source # source: path/to/source
# theme: path/themes/THEMENAME/ # theme: path/themes/THEMENAME/
- name: deploy - name: deploy
image: drillster/drone-rsync image: drillster/drone-rsync
environment: environment:
RSYNC_KEY: RSYNC_KEY:
from_secret: deploy_ssh_key from_secret: deploy_ssh_key
RSYNC_USER: RSYNC_USER:
from_secret: deploy_ssh_user from_secret: deploy_ssh_user
settings: settings:
hosts: hosts:
- from_secret: deploy_host - from_secret: deploy_host
source: public/ source: public/
target: target:
from_secret: deploy_dir from_secret: deploy_dir
when: when:
branch: branch:
- master - master