Better Sol generates your full Solana program, typed client, and database schema from a single TypeScript file. This workflow hooks into your GitHub repository so that every merge to the main branch automatically triggers a Better Sol build and deploys the updated program to Solana devnet. Your team always tests against the latest program state without anyone running manual deploy commands.
Store your Better Sol TypeScript program definition and deploy keypair as GitHub Actions secrets.
Add a GitHub Actions workflow file that triggers on push to main.
In the workflow, install the Better Sol CLI and run 'better-sol build' to generate the Solana program.
Run 'better-sol deploy --cluster devnet' to push the compiled program to devnet.
After deploy, write the new program ID and deploy timestamp to a Supabase table for record-keeping.
Add a step to post the program ID and explorer link as a comment on the merged pull request.
Create a free account to get the steps written out for your tools, click by click.
Create a free accountCut your deploy cycle time and eliminate manual deploy errors entirely.
Grab a 15-minute chat. We don't sell software, so we have no stake in which one you use.