diff --git a/.gitea/workflows/CI_local_test.yaml b/.gitea/workflows/CI_local_test.yaml index 28bbe3c..d2060f2 100644 --- a/.gitea/workflows/CI_local_test.yaml +++ b/.gitea/workflows/CI_local_test.yaml @@ -27,7 +27,7 @@ jobs: npm install --global yarn yarn config set registry https://registry.npmmirror.com yarn - yarn run build:test + yarn run build:local tar czvf ./dist-test.tar.gz ./dist - name: 打包发送到本地测试环境 uses: https://gitea.joylink.club/appleboy/scp-action@v0.1.7 diff --git a/package.json b/package.json index 08eba57..e0e9751 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "format": "prettier --write \"**/*.{js,ts,vue,scss,html,md,json}\" --ignore-path .gitignore", "test": "echo \"No test specified\" && exit 0", "dev": "quasar dev", - "build": "URL_ENV=local quasar build", + "build": "quasar build", + "build:local": "URL_ENV=local_test quasar build", "build:test": "URL_ENV=test quasar build", "build:publish": "URL_ENV=publish quasar build", "protoc": "node scripts/proto.cjs",