lets try scp instead
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details

pull/1/head
Evan Hemsley 2020-07-12 02:19:25 -07:00
parent 2c3f6673c5
commit 1c94825015
1 changed files with 22 additions and 22 deletions

View File

@ -14,27 +14,27 @@ steps:
validate: true validate: true
url: http://moonside.games/docs/encompass url: http://moonside.games/docs/encompass
- name: deploy
image: drillster/drone-rsync
settings:
hosts:
- moonside.games
target: /var/www/docs/encompass
source: public/
recursive: true
user: hugo
secrets: [ rsync_key ]
when:
branch:
- main
# - name: deploy # - name: deploy
# image: appleboy/drone-scp # image: drillster/drone-rsync
# settings: # settings:
# host: moonside.games # hosts:
# username: hugo # - moonside.games
# key: # target: /var/www/docs/encompass
# from_secret: rsync_key # source: public/
# port: 22 # recursive: true
# target: /var/www/html/docs/encompass # user: hugo
# source: # secrets: [ rsync_key ]
# when:
# branch:
# - main
- name: deploy
image: appleboy/drone-scp
settings:
host: moonside.games
username: hugo
key:
from_secret: rsync_key
port: 22
target: /var/www/html/docs/encompass
source: ./public