From 899784ca36b2a9fbbd3f2e404267dbffc07842d1 Mon Sep 17 00:00:00 2001 From: Matt Poole Date: Fri, 3 Jan 2025 15:15:10 -0500 Subject: [PATCH] DIGITAL-158: Allow automatically deploying releases and hotfixes to the stage environment. --- .github/workflows/cloudgov-deploy-app.yml | 2 +- .github/workflows/terraform-deploy-infra.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cloudgov-deploy-app.yml b/.github/workflows/cloudgov-deploy-app.yml index fd87ffa1..737b6ffc 100644 --- a/.github/workflows/cloudgov-deploy-app.yml +++ b/.github/workflows/cloudgov-deploy-app.yml @@ -28,7 +28,7 @@ jobs: DRUPAL_INSTANCES=${{ vars.MAIN_INSTANCES }} GSA_AUTH_KEY=${{ secrets.GSA_AUTH_PRODUCTION_KEY }} ;; - stage) + stage | release/* | hotfix/*) CF_SPACE="staging" DRUPAL_MEMORY=${{ vars.STAGE_CMS_MEMORY }} DRUPAL_INSTANCES=${{ vars.STAGE_INSTANCES }} diff --git a/.github/workflows/terraform-deploy-infra.yml b/.github/workflows/terraform-deploy-infra.yml index 3085f446..5a4d25cc 100644 --- a/.github/workflows/terraform-deploy-infra.yml +++ b/.github/workflows/terraform-deploy-infra.yml @@ -20,7 +20,7 @@ jobs: main) CF_SPACE="prod" ;; - stage) + stage | release/* | hotfix/*) CF_SPACE="staging" ;; esac