Skip to content

feat: deploy static site to Void with GitHub Actions - #136

Merged
fengmk2 merged 3 commits into
masterfrom
feat/void-deployment
Oct 16, 2026
Merged

fengmk2 merged 3 commits into
masterfrom
feat/void-deployment

Conversation

@fengmk2

@fengmk2 fengmk2 commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

The repository has no Void deployment configuration. This change deploys the existing Next.js static export from out/ to cnpmweb.void.app.

void.config.ts maps package, user, and search URLs to their exported HTML files. It also maps encoded dynamic-page script URLs to their asset files.

.github/workflows/void-deploy.yml builds and deploys pushes to master through GitHub Actions. It also supports manual deployment from master. The workflow uses GitHub OIDC to obtain a temporary deployment token. The Void project authorizes this workflow with the github_actions executor.

The workflow calls void@1.1.11 directly with npm exec. The README documents local deployment and the GitHub connection.

Summary by CodeRabbit

  • New Features
    • Added automated deployment to Void on pushes to master, with an option to trigger deployments manually.
    • Added Void deployment commands and setup guidance.
    • Configured static hosting to route package, user, and Next.js asset URLs to the appropriate pages.

@vercel

vercel Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cnpmweb Ready Ready Preview Oct 16, 2026 4:55pm UTC

@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f13ab180-244e-4381-b7b2-2cef8572c818
📥 Commits

Reviewing files that changed from the base of the PR and between 534862b and ddd8c86.

📒 Files selected for processing: 6
  • .github/workflows/void-deploy.yml
  • .gitignore
  • README.md
  • package.json
  • tsconfig.json
  • void.config.ts
+----------------+
| CSI: Git Diff. |
+----------------+
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Deploying cnpmweb with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0a88c0d
Status: ✅  Deploy successful!
Preview URL: https://d5fc0906.cnpmweb.pages.dev
Branch Preview URL: https://feat-void-deployment.cnpmweb.pages.dev

View logs

@fengmk2 fengmk2 changed the title feat: deploy static site to Void feat: deploy static site to Void with GitHub Actions Oct 16, 2026
@fengmk2
fengmk2 merged commit cbe56ac into master Oct 16, 2026
12 checks passed
@fengmk2
fengmk2 deleted the feat/void-deployment branch October 16, 2026 16:55

This branch was successfully deployed

1 active deployment
Preview — 0a88c0dc Deployed Oct 16, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant