Skip to content

Commit

Permalink
docs: prevent docs deployment without a version
Browse files Browse the repository at this point in the history
  • Loading branch information
latonz committed Apr 9, 2024
1 parent b9ebc7f commit f5528e2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f5528e2

Please sign in to comment.