|
@@ -11,7 +11,6 @@ steps:
|
|
image: klakegg/hugo:alpine
|
|
image: klakegg/hugo:alpine
|
|
commands:
|
|
commands:
|
|
- hugo -d /tmp/.build/public
|
|
- hugo -d /tmp/.build/public
|
|
- - ls /tmp/.build/public
|
|
|
|
volumes:
|
|
volumes:
|
|
- name: hugo
|
|
- name: hugo
|
|
path: /tmp/.build/public
|
|
path: /tmp/.build/public
|
|
@@ -19,6 +18,9 @@ steps:
|
|
image: drillster/drone-rsync
|
|
image: drillster/drone-rsync
|
|
settings:
|
|
settings:
|
|
user: root
|
|
user: root
|
|
|
|
+ delete: true
|
|
|
|
+ recursive: true
|
|
|
|
+ args: "-v"
|
|
key:
|
|
key:
|
|
from_secret: key
|
|
from_secret: key
|
|
hosts:
|
|
hosts:
|
|
@@ -26,8 +28,6 @@ steps:
|
|
source: /tmp/.build/public
|
|
source: /tmp/.build/public
|
|
target: /home/user-data/www/unbl.ink/
|
|
target: /home/user-data/www/unbl.ink/
|
|
secrets: [ key ]
|
|
secrets: [ key ]
|
|
- commands:
|
|
|
|
- - ls /tmp/.build/public
|
|
|
|
volumes:
|
|
volumes:
|
|
- name: hugo
|
|
- name: hugo
|
|
path: /tmp/.build/public
|
|
path: /tmp/.build/public
|