- Use peaceiris/actions-gh-pages for proper GitHub token handling
- Fix cleanup workflow syntax error
- Add proper checks for preview directory existence
This should resolve the 403 permission errors when deploying PR previews.
- Create workflow to build and deploy PR previews to /pr-{number}/
- Add automatic PR comments with preview links
- Clean up previews when PRs are closed
- Update data fetcher to handle PR preview base paths
- Add gh-pages branch initialization workflow
- Document PR preview feature in README
Now every pull request will automatically get its own preview deployment at:
https://imjasonh.github.io/apkviz/pr-{number}/
This enables easy testing and review of changes before merging.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add GitHub Actions workflow to build and deploy on push to main
- Configure webpack for production builds with correct base path
- Add CopyWebpackPlugin to copy APKINDEX file to dist
- Update data fetcher to handle GitHub Pages base path
- Clean dist directory on build for fresh deployments
The site will be automatically deployed to https://imjasonh.github.io/apkviz/
whenever changes are pushed to the main branch.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>