diff --git a/.drone.yml b/.drone.yml index c6da5aa..160a04f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,6 +2,10 @@ kind: pipeline type: docker name: default +volumes: + - name: live-output + temp: {} + steps: - name: test-compiler image: archlinux @@ -12,7 +16,10 @@ steps: - name: build-live image: klakegg/hugo:ext-alpine commands: - - hugo -D --baseUrl "http://danilafe.com:8080" --destination /output + - hugo -D --baseUrl "http://danilafe.com:8080" --destination /live-output + volumes: + - name: live-output + path: /live-output - name: upload-live image: eeacms/rsync commands: @@ -24,3 +31,6 @@ steps: environment: CUSTOM_KEY: from_secret: live_ssh_key + volumes: + - name: live-output + path: /live-output