Skip to content

Commit

Permalink
Update .github/workflows/book.yml
Browse files Browse the repository at this point in the history
With ronkooper's suggestion to remove extra conditional statements.

Co-authored-by: Chris Black <[email protected]>
  • Loading branch information
Sweetdevil144 and infotroph authored Dec 12, 2023
1 parent 5e101bd commit ad8dc57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
token: ${{ secrets.GH_PAT }}
# upload new documentation
- name: publish to github
if: github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop')
if: github.event_name == 'push'
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Documentation Robot"
Expand Down

0 comments on commit ad8dc57

Please sign in to comment.