From d0e57a48002d41f17d20c39b151e9785c4af5787 Mon Sep 17 00:00:00 2001 From: Brannon Jones Date: Tue, 17 May 2022 12:25:08 -0600 Subject: [PATCH] Add stub workflow for staging deployments (#27755) * Add stub workflow for staging deployments. * Make sure the no-op step has a `run` value --- .../workflows/azure-staging-build-deploy.yml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/azure-staging-build-deploy.yml diff --git a/.github/workflows/azure-staging-build-deploy.yml b/.github/workflows/azure-staging-build-deploy.yml new file mode 100644 index 0000000000..47059ba334 --- /dev/null +++ b/.github/workflows/azure-staging-build-deploy.yml @@ -0,0 +1,31 @@ +name: Azure Staging - Build and Deploy + +# **What it does**: Builds and deploys a branch/PR to staging +# **Why we have it**: To enable us to deploy a branch/PR to staging whenever necessary +# **Who does it impact**: All contributors. + +on: + workflow_dispatch: + inputs: + PR_NUMBER: + description: 'PR Number' + type: string + required: true + COMMIT_REF: + description: 'The commit SHA to build' + type: string + required: true + +permissions: + contents: read + deployments: write + +jobs: + azure-staging-build-and-deploy: + if: ${{ github.repository == 'github/docs-internal' }} + runs-on: ubuntu-latest + + steps: + - name: 'No-op' + run: | + echo "No-op"