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:

  1. Open the Convex dashboard
  2. Select your project
  3. Switch to the Production deployment (click the dropdown in the header)
  4. Go to SettingsGeneralDeploy Key
  5. Click Generate Production Deploy Key
  6. Copy the deploy key

Then add it as a GitHub repository secret:

  1. Go to your GitHub repository → SettingsSecrets and variablesActions
  2. Click New repository secret
  3. Name: CONVEX_DEPLOY_KEY
  4. Value: paste the deploy key
  5. 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.