1
0
Fork 0
mirror of https://github.com/imjasonh/apkviz synced 2026-07-16 12:21:59 +00:00
Commit graph

3 commits

Author SHA1 Message Date
Jason Hall
ac866e3c3e
Fix PR preview deployment permissions
- 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.
2025-06-13 16:26:20 -04:00
Jason Hall
7295f29c92
Add PR preview deployments with GitHub Pages
- 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>
2025-06-13 16:12:34 -04:00
Jason Hall
72c2a57471
Add GitHub Pages deployment with GitHub Actions
- 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>
2025-06-13 15:46:07 -04:00