Skip to content

Commit

Permalink
fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
itanka9 committed Sep 21, 2024
1 parent 51701bf commit 9fca0c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,8 @@ jobs:
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Fix deploy path
run: npm install
- name: Build
run: npm run build -- --base=/mapgl-share-control/
run: npm run build-demo -- --base=/mapgl-share-control/
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build -c ./lib.vite.js && npm run typings",
"preview": "vite preview",
"build-demo": "tsc && vite build",
"typings": "tsc -p tsconfig.typings.json --declaration --emitDeclarationOnly --outDir dist",
"prepublishOnly": "npm run build"
},
Expand Down

0 comments on commit 9fca0c3

Please sign in to comment.