mirror of
https://github.com/shadoll/vancouver.git
synced 2026-08-28 03:28:21 +00:00
feat: enhance GitHub Pages deployment workflow and update README for setup instructions
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user