From f5528e2b562b7ab8a58743e11b04cdc6fd3c70d0 Mon Sep 17 00:00:00 2001 From: latonz Date: Mon, 8 Apr 2024 22:37:54 -0600 Subject: [PATCH] docs: prevent docs deployment without a version --- .github/workflows/docs.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 9d4a6c62b6..5783ce4bb0 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -98,6 +98,11 @@ jobs: with: _input-text: ${{ inputs.environment }} stable: main + # we never want to deploy with no version set + # stop the deployment here + - name: Version not set + if: ${{ inputs.version }} == '' + run: exit 1 - uses: cloudflare/pages-action@v1 id: deployment with: