소스 검색

Update '.drone.yml'

kirkleon 5 년 전
부모
커밋
eb50a78eaf
1개의 변경된 파일10개의 추가작업 그리고 6개의 파일을 삭제
  1. 10 6
      .drone.yml

+ 10 - 6
.drone.yml

@@ -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
     
 volumes:
 - name: build