From ef5f22b9b87542d48068d5e12a56ca7e804405bd Mon Sep 17 00:00:00 2001 From: Jim Barnes Date: Wed, 26 Jun 2024 11:35:31 -0400 Subject: [PATCH] Added logic for manual ref --- .../azure-static-web-apps-delightful-moss-0832eaa0f.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/azure-static-web-apps-delightful-moss-0832eaa0f.yml b/.github/workflows/azure-static-web-apps-delightful-moss-0832eaa0f.yml index 8879d20..55f46d5 100644 --- a/.github/workflows/azure-static-web-apps-delightful-moss-0832eaa0f.yml +++ b/.github/workflows/azure-static-web-apps-delightful-moss-0832eaa0f.yml @@ -25,6 +25,13 @@ jobs: name: Build and Deploy Job steps: - uses: actions/checkout@v3 + if: "${{ github.event.inputs.manual_ref != '' }}" + with: + submodules: true + lfs: false + ref: "${{ github.event.inputs.manual_ref }}" + - uses: actions/checkout@v3 + if: "${{ github.event.inputs.manual_ref == '' }}" with: submodules: true lfs: false