Browse Source

Update '.drone.yml'

kirkleon 5 years ago
parent
commit
23c7e76532
1 changed files with 10 additions and 0 deletions
  1. 10 0
      .drone.yml

+ 10 - 0
.drone.yml

@@ -29,6 +29,16 @@ steps:
     port: 355
     port: 355
     target: "/opt/terrassumptions/srv/build-$(date +'%Y-%m-%dT%H:%M:%S')"
     target: "/opt/terrassumptions/srv/build-$(date +'%Y-%m-%dT%H:%M:%S')"
     source: /build/*
     source: /build/*
+- name: deploy-ui
+  image: appleboy/drone-ssh
+  settings:
+    host: hiram.services
+    username: hiram
+    key:
+      from_secret: ssh_key
+    port: 355
+    script:
+    - /opt/terrassumptions/srv/update.sh
     
     
 volumes:
 volumes:
 - name: build
 - name: build