lets try scp instead
parent
2c3f6673c5
commit
1c94825015
44
.drone.yml
44
.drone.yml
|
@ -14,27 +14,27 @@ steps:
|
|||
validate: true
|
||||
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
|
||||
# image: appleboy/drone-scp
|
||||
# image: drillster/drone-rsync
|
||||
# settings:
|
||||
# host: moonside.games
|
||||
# username: hugo
|
||||
# key:
|
||||
# from_secret: rsync_key
|
||||
# port: 22
|
||||
# target: /var/www/html/docs/encompass
|
||||
# source:
|
||||
# hosts:
|
||||
# - moonside.games
|
||||
# target: /var/www/docs/encompass
|
||||
# source: public/
|
||||
# recursive: true
|
||||
# user: hugo
|
||||
# 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
|
||||
|
|
Loading…
Reference in New Issue