Explorar el Código

Update '.drone.yml'

kirkleon hace 5 años
padre
commit
ca3b7572f4
Se han modificado 1 ficheros con 17 adiciones y 0 borrados
  1. 17 0
      .drone.yml

+ 17 - 0
.drone.yml

@@ -5,13 +5,30 @@ name: ui
 steps:
 - name: build-ui
   image: node:12.7.0
+  volumes:
+  - name: build
+    path: /build/
   commands:
   - cd client
   - yarn install
   - yarn build
+  - mv build/* /build/
   when:
     branch:
     - master
+- name: test-volume
+  image: alpine/3.8
+  volumes:
+  - name: build
+    path: /build/
+  commands:
+  - cd /build/
+  - ls
+  - cat index.html
+    
+volumes:
+- name: build
+  temp: {}
 
 ---
 kind: pipeline