Browse Source

test drone

liubing 10 months ago
parent
commit
66b4e0443e
1 changed files with 4 additions and 3 deletions
  1. 4 3
      .drone.yml

+ 4 - 3
.drone.yml

@@ -1,9 +1,10 @@
 kind: pipeline
-type: docker
+type: exec
 name: default
 steps:
 - name: test
   image: alpine
   commands:
-  - echo hello
-  - echo world
+  - npm run build:prod
+  - git rev-parse --short HEAD > dist/version
+  - docker build . -t reg.cestong.com.cn/cecf/observe-front