Skip to content

Add dedicated staging deploy workflow with branch and service name overrides - #67

Draft
oldtopos with Copilot wants to merge 2 commits into
mainfrom
copilot/create-staging-deploy-workflow
Draft

oldtopos with Copilot wants to merge 2 commits into
mainfrom
copilot/create-staging-deploy-workflow

Conversation

Copilot AI commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

Creates a standalone workflow_dispatch GitHub Actions workflow for deploying to GCP App Engine staging, separate from the test workflow.

Changes

  • .github/workflows/deploy-staging.yml — new workflow with:
    • branch input (default: main) — controls which branch is deployed
    • service_name input (default: wildebackyard-web-staging) — overridable target App Engine service
    • All sensitive config (GCP_SA_KEY, GCP_PROJECT_ID, DJANGO_SECRET_KEY, CLOUD_SQL_DATABASE_URL_STAGING) sourced from repository secrets
    • Three sequential jobs: test (pytest via uv) → build (validates GCP credentials + app.yaml) → deploy (updates version.py, collects static, deploys with gcloud)
    • Deploys with --no-promote, versioned by short commit SHA
    • permissions: contents: read scoped on all jobs

Copilot AI linked an issue Aug 9, 2026 that may be closed by this pull request
Co-authored-by: oldtopos <2193065+oldtopos@users.noreply.github.com>
Copilot AI changed the title [WIP] Create staging deploy workflow with branch override Add dedicated staging deploy workflow with branch and service name overrides Aug 9, 2026
Copilot AI requested a review from oldtopos August 9, 2026 20:06
@oldtopos
oldtopos force-pushed the copilot/create-staging-deploy-workflow branch from 786321e to 85b5fcb Compare August 16, 2026 16:47

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

staging deploy workflow

2 participants