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

This commit is contained in:
Axel Cocat
2023-04-02 14:20:23 +02:00
committed by GitHub
parent fb1f240177
commit 108627f41e

View File

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