From 4671f8112ecc416bfacfe16ab04e7e0ad998ef4c Mon Sep 17 00:00:00 2001 From: Matthew Keil Date: Tue, 2 Jan 2024 12:37:35 -0500 Subject: [PATCH] fix: remove invalid workflow step --- .github/workflows/docs.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 85735a39781d..6e27a89c3044 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -18,17 +18,6 @@ jobs: env: DEPLOY_REF: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.ref || 'stable' }} steps: - # Validation step for workflow_dispatch ref input - - name: Validate Ref - if: github.event_name == 'workflow_dispatch' - run: | - if git rev-parse "${{ env.DEPLOY_REF }}" >/dev/null 2>&1; then - echo "Ref ${{ env.DEPLOY_REF }} is valid." - else - echo "Error: Ref ${{ env.DEPLOY_REF }} is not a valid branch, tag or commit." >&2 - exit 1 - fi - # Log out the ref being deployed - name: Log Deployment Ref if: github.event_name == 'workflow_dispatch'