Browse Source

chore: 修改编译目录,因为drone仅支持读取master下的配置文件

zhangyuhan 4 years ago
parent
commit
2a47246087
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .drone.yml
  2. 1 1
      vue.config.js

+ 1 - 1
.drone.yml

@@ -35,7 +35,7 @@ steps:
     pull: if-not-exists
     pull: if-not-exists
     image: alpine
     image: alpine
     commands:
     commands:
-      - tar -cvf dist-page_entniche.tar ./page_entniche
+      - tar -cvf dist-page_entniche.tar ./dist-version
   # 邮件
   # 邮件
   - name: notify
   - name: notify
     pull: if-not-exists
     pull: if-not-exists

+ 1 - 1
vue.config.js

@@ -42,7 +42,7 @@ const s_version = process.env.npm_package_version.replace(/\./g, '')
 module.exports = {
 module.exports = {
   publicPath: process.env.BASE_URL,
   publicPath: process.env.BASE_URL,
   parallel: false,
   parallel: false,
-  outputDir: 'page_entniche',
+  outputDir: 'dist-versions',
   productionSourceMap: false,
   productionSourceMap: false,
   devServer: {
   devServer: {
     disableHostCheck: true,
     disableHostCheck: true,