Skip to content

Commit aaadbce

Browse files
authored
Update update-gh-pages-documentation-site
1 parent 182196c commit aaadbce

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Scripts/update-gh-pages-documentation-site

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ CURRENT_COMMIT_HASH=`git rev-parse --short HEAD`
6666
cd gh-pages
6767
git add "$DEPLOYMENT_SUBDIRECTORY"
6868

69-
if [ -n "$(git status --porcelain)" ]; then
69+
#if [ -n "$(git status --porcelain)" ]; then
7070
echo "Documentation changes found. Commiting the changes to the 'gh-pages' branch and pushing to origin."
7171
git commit -m "Update documentation to $CURRENT_COMMIT_HASH on '$CURRENT_BRANCH_NAME'"
7272
git push origin HEAD:gh-pages
73-
else
74-
# No changes found, nothing to commit.
75-
echo "No documentation changes found."
76-
fi
73+
#else
74+
# # No changes found, nothing to commit.
75+
# echo "No documentation changes found."
76+
#fi
7777

7878
# Delete the git worktree we created
7979
cd ..
80-
git worktree remove gh-pages
80+
git worktree remove gh-pages

0 commit comments

Comments
 (0)