Add GitHub Pages deployment workflow
- Create GitHub Actions workflow for automatic deployment on main branch pushes - Configure Vite base path for GitHub Pages hosting - Set up build and deploy pipeline with proper permissions 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
496a0a382b
commit
6b148647b9
1 changed files with 50 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ export default defineConfig({
|
|||
plugins: [react()],
|
||||
// Set base to '/' for local testing, or to your repo name for GitHub Pages
|
||||
// e.g., base: '/example-remote-client/' for https://username.github.io/example-remote-client/
|
||||
base: '/',
|
||||
base: process.env.NODE_ENV === 'production' ? '/example-remote-client/' : '/',
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, './src'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue