Skip to content

Commit

Permalink
fix: Avoid workflow failure on unchanged docs
Browse files Browse the repository at this point in the history
  • Loading branch information
abensonca committed Nov 14, 2023
1 parent b3456a2 commit 38d7075
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ jobs:
git config --local user.email "[email protected]"
git config --local user.name "github-action-validate"
git add doc
git diff --cached --quiet
if [ $? -eq 1 ]; then
if [ git diff --cached --quiet ]; then
git commit -m "Update documentation"
git push --set-upstream origin gh-pages
fi
Expand Down

0 comments on commit 38d7075

Please sign in to comment.