Skip to content

uses the "development" environment during dev deployment#669

Merged
tomjemmett merged 1 commit into
mainfrom
use_environments_in_actions
May 20, 2026
Merged

uses the "development" environment during dev deployment#669
tomjemmett merged 1 commit into
mainfrom
use_environments_in_actions

Conversation

@tomjemmett
Copy link
Copy Markdown
Member

use separate environments to manage different secrets (e.g. different API endpoints)

use separate environments to manage different secrets (e.g. different API endpoints)
@tomjemmett tomjemmett requested a review from a team as a code owner May 20, 2026 15:45
Copilot AI review requested due to automatic review settings May 20, 2026 15:45
@tomjemmett tomjemmett added actions GitHub Actions could MoSCoW priority labels May 20, 2026
@tomjemmett tomjemmett self-assigned this May 20, 2026
@tomjemmett tomjemmett requested a review from matt-dray May 20, 2026 15:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Connect publish GitHub Actions workflows to support using a separate GitHub Environment for dev deployments, enabling different secrets (for example, different API endpoints) between dev and production.

Changes:

  • Replace the manual workflow’s environment option from new-production to development.
  • Update the dev deployment workflow to call the reusable publish workflow with environment: development.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/connect-publish-manual.yaml Updates workflow_dispatch environment choices to include development.
.github/workflows/connect-publish-dev.yaml Switches the dev deployment to use the development GitHub Environment when invoking the reusable workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 8 to +14
publish-production:
name: "Publish (to production server)"
uses: ./.github/workflows/connect-publish-manual.yaml
with:
namespace: "dev"
inputs_data_version: "dev"
environment: "production"
environment: "development"
Copy link
Copy Markdown
Contributor

@matt-dray matt-dray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah gotcha, thanks for recognising and updating.

@tomjemmett tomjemmett merged commit 4da9eca into main May 20, 2026
7 checks passed
@tomjemmett tomjemmett deleted the use_environments_in_actions branch May 20, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

actions GitHub Actions could MoSCoW priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants