Skip to content

Rename GitHub environment 'production' to 'prod' #9

Description

@denkasyanov

Context

The template is inconsistent about the prod environment name:

  • apps/web/wrangler.jsonc uses env.prod (worker becomes <name>-prod via CLOUDFLARE_ENV: prod)
  • but .github/workflows/deploy.yml selects the GitHub environment production (github.ref_name == 'main' && 'production' || 'dev'), and docs/SETUP.md instructs creating dev + production

Surfaced while provisioning a downstream project — dev/production reads as two different naming schemes; dev/prod everywhere is consistent.

Change

  • .github/workflows/deploy.yml: 'production''prod' in the environment: expression
  • docs/SETUP.md: all references to the GitHub production environment → prod (env creation step, secrets/variables tables intro, gh secret set --env production examples, gotcha #5). Convex's own "production deployment" term stays as-is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions