From 1639d50bdbada4e42a602155f51ce411746764b5 Mon Sep 17 00:00:00 2001 From: Kevin Heis Date: Tue, 15 Mar 2022 10:18:16 -0700 Subject: [PATCH] Update azure-preview-env-deploy.yml --- .github/workflows/azure-preview-env-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/azure-preview-env-deploy.yml b/.github/workflows/azure-preview-env-deploy.yml index c37dbedfdc..f0cbeaffba 100644 --- a/.github/workflows/azure-preview-env-deploy.yml +++ b/.github/workflows/azure-preview-env-deploy.yml @@ -53,7 +53,7 @@ jobs: # to link a PR to a list of environments later. url: ${{ env.APP_URL }} env: - PR_NUMBER: ${{ github.event.number || github.event.inputs.PR_NUMBER }} + PR_NUMBER: ${{ github.event.number || github.event.inputs.PR_NUMBER || github.run_id }} COMMIT_REF: ${{ github.event.pull_request.head.sha || github.event.inputs.COMMIT_REF }} BRANCH_NAME: ${{ github.head_ref || github.ref_name }} IS_INTERNAL_BUILD: ${{ github.repository == 'github/docs-internal' }}