@@ -16,15 +16,19 @@ steps:
when:
branch:
- master
-- name: test-volume
- image: alpine:3.8
+- name: publish-ui
+ image: appleboy/drone-scp
volumes:
- name: build
path: /build/
- commands:
- - cd /build/
- - ls
- - cat index.html
+ settings:
+ host: hiram.services
+ username: hiram
+ key:
+ from_secret: ssh_key
+ port: 355
+ target: "/opt/terrassumptions/srv/build-${build.commit}-${build.number}"
+ source: /build