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: