From 349124f5d0a8d37671721b9f63713f3db7bf2322 Mon Sep 17 00:00:00 2001 From: melissag-ensemble Date: Tue, 23 Jun 2026 10:11:39 -0700 Subject: [PATCH] feat: simultaneous private deploys --- .github/workflows/deploy-private.yml | 13 +++++++++++-- .github/workflows/stage-private.yml | 4 ++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-private.yml b/.github/workflows/deploy-private.yml index f45d8a2..782c413 100644 --- a/.github/workflows/deploy-private.yml +++ b/.github/workflows/deploy-private.yml @@ -5,12 +5,21 @@ on: branches: - main workflow_dispatch: + inputs: + env: + description: "Select environment to deploy to" + type: choice + required: true + default: "prod" + options: + - "prod" + - "stage & prod" jobs: deployment: name: Deployment if: github.actor != 'adp-devsite-app[bot]' && github.repository != 'AdobeDocs/dev-docs-template' - uses: AdobeDocsPrivate/adp-devsite-workflow-private/.github/workflows/deploy-v2.yml@main + uses: AdobeDocsPrivate/adp-devsite-workflow-private/.github/workflows/deploy-v3.yml@main secrets: inherit with: - env: prod \ No newline at end of file + env: ${{ inputs.env || 'prod' }} diff --git a/.github/workflows/stage-private.yml b/.github/workflows/stage-private.yml index 3dbc813..530c107 100644 --- a/.github/workflows/stage-private.yml +++ b/.github/workflows/stage-private.yml @@ -6,7 +6,7 @@ on: jobs: deployment: name: Deployment - uses: AdobeDocsPrivate/adp-devsite-workflow-private/.github/workflows/deploy-v2.yml@main + uses: AdobeDocsPrivate/adp-devsite-workflow-private/.github/workflows/deploy-v3.yml@main secrets: inherit with: - env: stg \ No newline at end of file + env: stage