Browse Source

chore: update CNAME

vben 2 năm trước cách đây
mục cha
commit
476b2b8acc
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 2
      .github/workflows/deploy.yml
  2. 1 0
      CNAME

+ 1 - 2
.github/workflows/deploy.yml

@@ -55,7 +55,6 @@ jobs:
   #         ARGS: --delete --verbose --parallel=80
 
   push-to-gh-pages:
-    if: "contains(github.event.head_commit.message, '[release]')"
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
@@ -64,8 +63,8 @@ jobs:
       - name: Sed Config Base
         shell: bash
         run: |
-          sed -i  's#VITE_PUBLIC_PATH\s*=.*#VITE_PUBLIC_PATH = /vue-vben-admin/#g' ./.env.production
           sed -i  "s#VITE_BUILD_COMPRESS\s*=.*#VITE_BUILD_COMPRESS = 'gzip'#g" ./.env.production
+          sed -i  "s#VITE_DROP_CONSOLE\s*=.*#VITE_DROP_CONSOLE = true#g" ./.env.production
           cat ./.env.production
 
       - name: use Node.js 16

+ 1 - 0
CNAME

@@ -0,0 +1 @@
+vben.vvbin.cn