From 4396bd30ede2f4ff9a97b0623e30a4ca0fc193c1 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Fri, 24 May 2024 15:16:38 -0700 Subject: [PATCH] hack --- .github/workflows/promote.yml | 6 ++++++ .github/workflows/release.yml | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml index 28fe34b..c350c3a 100644 --- a/.github/workflows/promote.yml +++ b/.github/workflows/promote.yml @@ -7,6 +7,12 @@ on: description: 'Release Environment' type: string required: true + workflow_dispatch: + inputs: + environment: + description: 'Release Environment' + type: environment + required: true jobs: dunno: name: "Dunno (${{ inputs.environment }})" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 85c841d..10be405 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,13 +9,13 @@ on: required: true jobs: stage: - name: "Stage to '${{ inputs.environment }}' environment" + name: "Stage" runs-on: ubuntu-latest steps: - name: Staging run: echo "Staging" promote: - name: "Promote to '${{ inputs.environment }}' environment" + name: "Promote" needs: stage uses: ./.github/workflows/promote.yml with: