Skip to content

Commit

Permalink
ci: specify base path in the deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LowderPlay committed Oct 3, 2023
1 parent 5d9fe1d commit 1c3a7ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
run: npm run build -- --base=/TeleOTP/
- 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 @@ -6,7 +6,7 @@
"homepage": "https://github.com/UselessStudio/TeleOTP",
"scripts": {
"dev": "vite",
"build": "tsc && vite build --base=/TeleOTP/",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
},
Expand Down

0 comments on commit 1c3a7ea

Please sign in to comment.