Skip to content

Commit

Permalink
feat: prevent pipeline error when /dist doesn't change
Browse files Browse the repository at this point in the history
  • Loading branch information
btlghrants committed Jan 18, 2024
1 parent f943fbb commit 335363e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,8 @@ jobs:
git add --all
git commit -m "docs.yml"
# suppress error exit code & return if nothing to commit
retVal=$?
if [ $retVal -eq 1 ]; then exit 0 ; fi
git push origin "$BRANCH"

0 comments on commit 335363e

Please sign in to comment.