Skip to content

Commit

Permalink
Merge branch 'refs/heads/dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
zyronon committed Apr 9, 2024
2 parents f833dbb + f8a1bdb commit 2e2c7d5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: pnpm install

- name: Build
run: pnpm run build
run: pnpm run build-gp-pages
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
Expand Down
1 change: 1 addition & 0 deletions env/.env.gp_pages
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_ENV = "GP_PAGES"
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"serve": "vite --host",
"build": "vite build --mode prod",
"build-uni-app": "vite build --mode uni",
"build-gp-pages": "vite build --mode gp_pages",
"build-only": "vite build",
"build-check": "run-p type-check \"build-only {@}\" --",
"type-check": "vue-tsc --build --force",
Expand Down
1 change: 1 addition & 0 deletions src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export default {
const BASE_URL_MAP = {
DEV: '',
PROD: '',
GP_PAGES: '/dist',
UNI: 'https://dy.ttentau.top'
}

Expand Down

0 comments on commit 2e2c7d5

Please sign in to comment.