File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ rm -fr ./gh-pages
1212git config --global user.email " devxsdk@us.ibm.com"
1313git config --global user.name " ibm-devx-sdk"
1414git clone --branch=gh-pages https://x-access-token:${GITHUB_TOKEN} @github.com/${GITHUB_REPO_SLUG} .git gh-pages
15+ git config --global url." x-access-token:${GITHUB_TOKEN} @github.com/${GITHUB_REPO_SLUG} .git"
1516# Configure the remote URL with the token for pushing
1617# git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPO_SLUG}.git
1718printf " \n>>>>> GH version...\n"
@@ -39,7 +40,7 @@ git commit -m "docs: latest javadoc for ${GITHUB_TAG}"
3940printf " \n>>>>> Committed changes...\n"
4041git remote -v
4142# git push -f origin gh-pages
42- gh push origin gh-pages
43+ git push --repo= " https://x-access-token: ${GITHUB_TOKEN} @github.com/ ${GITHUB_REPO_SLUG} .git " -f gh-pages
4344printf " \n>>>>> Pushed changes...\n"
4445
4546popd
You can’t perform that action at this time.
0 commit comments