Skip to content

Commit

Permalink
Change CI workflow for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jbelkins committed Dec 21, 2023
1 parent 47c59bd commit 92d5615
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/generate-documentation.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Generate Documentation

on:
pull_request:
release:
types: [published]

Expand Down Expand Up @@ -46,8 +47,11 @@ jobs:
echo "VERSION=$VERSION" >> "$GITHUB_ENV"
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
else
echo "Error: runs on a tag only"
exit 1
echo "Version forced to 0.24.0"
echo "VERSION=0.24.0" >> "$GITHUB_ENV"
echo "version-0.24.0" >> "$GITHUB_OUTPUT"
# echo "Error: runs on a tag only"
# exit 1
fi
- name: Generate docs
run: |
Expand Down

0 comments on commit 92d5615

Please sign in to comment.