The DetenatorT
Convex Community8mo ago
5 replies
The Detenator

Deploying convex and astro on github pages with github action

I am looking at the Custom Domains & Hosting and it explains how to manually deploy to github pages.
I am currently deploying to gh pages using a github action, I am using the withastro/action@v3 action to do the deployment.
So I am unsure on how to do the step that says to run npx convex deploy --cmd 'npm run build'
I am never runing npm run in the gh action. how am I supposed to do this?

is it even possible to do an automatic deployment? do I have to put in the env vars manually in github secrets after running convex deploy locally?
Was this page helpful?