change back to rsync
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
0a8feda230
commit
96a581412c
33
.drone.yml
33
.drone.yml
|
@ -14,27 +14,16 @@ 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
|
||||
password:
|
||||
from_secret: scp_key
|
||||
port: 22
|
||||
target: /var/www/html/docs/encompass
|
||||
source: ./public
|
||||
hosts:
|
||||
- moonside.games
|
||||
target: /var/www/docs/encompass
|
||||
source: public/
|
||||
recursive: true
|
||||
user: hugo
|
||||
secrets: [ rsync_key ]
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
|
|
Loading…
Reference in New Issue