Wrap Up the Project Planner
There is a lot more we can add to the Project Planner: comments, file attachments, due dates, and so on. But we will leave it here for now.
Deploy to Production
The starter repository already has a GitHub Actions workflow that deploys to GitHub Pages. The workflow uses npx convex deploy --cmd 'pnpm run build' to deploy both the Convex backend and the frontend in one step.
Because you created your own copy of the repository, double-check that the deployment settings match your repo. In particular, update the GitHub Actions workflow and/or vite.config.ts so the GitHub Pages branch and base path match the repository name and branch you are actually using.
Since this is a new Convex project, you need a new deploy key:
- Open the Convex dashboard
- Select your project
- Switch to the Production deployment (click the dropdown in the header)
- Go to Settings → General → Deploy Key
- Click Generate Production Deploy Key
- Copy the deploy key
Then add it as a GitHub repository secret:
- Go to your GitHub repository → Settings → Secrets and variables → Actions
- Click New repository secret
- Name:
CONVEX_DEPLOY_KEY - Value: paste the deploy key
- Click Add secret
Push to the branch your workflow is configured to deploy from, and the workflow deploys both the Convex functions and the frontend.