fix(ci): exclude date.js from doc PR git status (#108)

This commit is contained in:
Axel Cocat
2023-03-27 15:20:28 +02:00
committed by GitHub
parent 554bf506c5
commit 50329656fb

View File

@@ -23,7 +23,7 @@ cp -r "$SOURCE_FOLDER/." "$CLONE_DIR/$DESTINATION_FOLDER/"
echo "Adding files" echo "Adding files"
git add . git add .
if git status | grep -q "Changes to be committed" if git status -- ":!date.js" | grep -q "Changes to be committed"
then then
echo "Adding git commit" echo "Adding git commit"
git commit -m "$COMMIT_MESSAGE" git commit -m "$COMMIT_MESSAGE"