feat: enhance GitHub Pages deployment workflow and update README for setup instructions

This commit is contained in:
sha
2025-06-20 14:02:50 +03:00
parent d1fa63d3c1
commit 036633548b
4 changed files with 56 additions and 2 deletions
+19 -1
View File
@@ -58,7 +58,7 @@ make install
# Start development server
make dev
# Build for production
# Build for production
make build
```
@@ -105,6 +105,24 @@ The application supports light and dark themes with:
## 🚀 Deployment
### GitHub Pages Setup
Before the automatic deployment works, you need to configure GitHub Pages in your repository:
1. **Enable GitHub Pages:**
- Go to your repository on GitHub
- Navigate to Settings → Pages
- Under "Source", select "GitHub Actions"
2. **Run initial setup (optional):**
- Go to Actions tab in your repository
- Run the "Setup GitHub Pages" workflow manually
- This will initialize the Pages environment
3. **Automatic deployment:**
- After setup, every push to `main` branch will automatically build and deploy
- The site will be available at `https://[username].github.io/vancouver/`
### GitHub Pages (Automatic)
Push to the `main` branch to trigger automatic deployment to GitHub Pages via GitHub Actions.