diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 28913df0c..35edad5af 100644 --- a/.github/workflows/deploy.yml +++ b/.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 diff --git a/CNAME b/CNAME new file mode 100644 index 000000000..3436928ab --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +vben.vvbin.cn