We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaadbce commit a9f17a9Copy full SHA for a9f17a9
Scripts/update-gh-pages-documentation-site
@@ -66,14 +66,14 @@ CURRENT_COMMIT_HASH=`git rev-parse --short HEAD`
66
cd gh-pages
67
git add "$DEPLOYMENT_SUBDIRECTORY"
68
69
-#if [ -n "$(git status --porcelain)" ]; then
+if [ -n "$(git status --porcelain)" ]; then
70
echo "Documentation changes found. Commiting the changes to the 'gh-pages' branch and pushing to origin."
71
git commit -m "Update documentation to $CURRENT_COMMIT_HASH on '$CURRENT_BRANCH_NAME'"
72
git push origin HEAD:gh-pages
73
-#else
74
-# # No changes found, nothing to commit.
75
-# echo "No documentation changes found."
76
-#fi
+else
+ # No changes found, nothing to commit.
+ echo "No documentation changes found."
+fi
77
78
# Delete the git worktree we created
79
cd ..
0 commit comments