Skip to content

Commit

Permalink
refactor(scripts): update docs script output copy
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuagraber committed Jun 10, 2024
1 parent cf41914 commit 879e445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/update-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ done

# create a commit, only if there are changes
if git diff --quiet docs/$output_file; then
echo "No component documentation changes detected"
echo -e "No new component README files detected.\n Proceeding with push"
exit 0
else
commit_msg="chore(docs): auto-update to component docs"

echo "Changes detected, committing updated docs/$output_file file..."
echo "New README files detected, committing updated docs/$output_file file..."
git add docs/$output_file && git commit -m "$commit_msg" --no-verify && echo "Commit finished, proceeding with push"
fi

0 comments on commit 879e445

Please sign in to comment.