Browse Source

build: drone 流水线配置.

wu67 7 months ago
parent
commit
425af1a31a
1 changed files with 3 additions and 16 deletions
  1. 3 16
      .drone.yml

+ 3 - 16
.drone.yml

@@ -1,12 +1,12 @@
 kind: pipeline
 type: docker
 # 流水线名称
-name: au_front_admin_cicd
+name: pc_shop_admin_cicd
 
 volumes:
   - name: build_dist
     host:
-      path: /www/wwwroot/pc_admin_auto
+      path: /www/wwwroot/pc_shop_admin_auto
 clone:
   disable: true
 
@@ -20,22 +20,9 @@ steps:
         - develop
       event:
         - push
-  # - name: npm_run_build
-  #   image: node:16.14.0
-  #   volumes:
-  #     - name: build_dist
-  #       path: /drone/src/dist
-  #   commands:
-  #     - pwd
-  #     - echo "master branch web hook"
-  #   when:
-  #     branch:
-  #       - master
-  #     event:
-  #       - push
 
   - name: npm_run_build
-    image: node:20.14.0-slim
+    image: node:20.16.0-slim
 
     volumes:
       - name: build_dist