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.
gh-pages
1 parent cababca commit 6fb43fbCopy full SHA for 6fb43fb
build/docs-prep.sh
@@ -76,6 +76,18 @@ if [ $? -ne 0 ]; then
76
fi
77
print_success "Switched to gh-pages branch"
78
79
+git reset --hard origin/gh-pages
80
+if [ $? -ne 0 ]; then
81
+ print_error "Failed to reset to origin/gh-pages. Check your git configuration."
82
+fi
83
+print_success "Reset to origin/gh-pages"
84
+
85
+git pull origin gh-pages
86
87
+ print_error "Failed to pull from origin/gh-pages. Check your network connection and git configuration."
88
89
+print_success "Pulled latest changes from origin/gh-pages"
90
91
# Step 4: Create a new branch for the update
92
print_info "Creating new branch ${NEW_BRANCH}…"
93
execute "git checkout -b ${NEW_BRANCH}"
0 commit comments