Skip to content

ci: migrate staging secrets to GitHub Environment#1768

Merged
tyler-dane merged 10 commits into
mainfrom
ci/migrate-staging-secrets-to-environment
May 16, 2026
Merged

ci: migrate staging secrets to GitHub Environment#1768
tyler-dane merged 10 commits into
mainfrom
ci/migrate-staging-secrets-to-environment

Conversation

@tyler-dane
Copy link
Copy Markdown
Contributor

Summary

  • Adds environment: Staging to the deploy job in deploy-staging.yml
  • Removes all STAGING_ prefixes from 8 secrets and 5 variables — environment scoping replaces the naming convention
  • Updates docs/CI-CD/workflows.md to document the repository-level vs environment-level secret split

Pre-merge validation

Before merging, manually trigger the Deploy staging workflow from this branch to confirm secrets resolve correctly:

  1. Go to Actions → Deploy staging → Run workflow
  2. Select branch ci/migrate-staging-secrets-to-environment
  3. Enter an existing tag (e.g. the latest release)
  4. Confirm the run succeeds end-to-end (SSH connects, ./compass update runs)

Post-merge cleanup

Once the deploy is confirmed working, delete the old STAGING_-prefixed secrets and variables from repository-level Actions secrets.

Closes #1767

Adds `environment: Staging` to the deploy job and removes all
`STAGING_` prefixes from secrets and variables, relying on
environment-level scoping instead of naming conventions.

Also updates docs/CI-CD/workflows.md to document the split between
repository-level secrets (DockerHub) and Staging environment secrets.

Closes #1767

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@tyler-dane tyler-dane force-pushed the ci/migrate-staging-secrets-to-environment branch from b798d85 to 5374581 Compare May 16, 2026 19:13
@tyler-dane tyler-dane merged commit 09348aa into main May 16, 2026
8 checks passed
@tyler-dane tyler-dane deleted the ci/migrate-staging-secrets-to-environment branch May 16, 2026 19:13
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.

ci: Migrate staging secrets to GitHub Environment

1 participant