From 58cffa788b0eafbf67e784a74ee868d5365e6539 Mon Sep 17 00:00:00 2001 From: Sh4yn Date: Mon, 25 Apr 2022 11:41:50 +0200 Subject: [PATCH] Use branch main instead of master Most convention using now main instead even github. Now when we want create new repository the default name branch is main, so keep master branch name is not good, it will force change default name branch to master for publish doc / gh page --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 07856b4..f48ce61 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -13,7 +13,7 @@ REPONAME="$(echo $GITHUB_REPOSITORY| cut -d'/' -f 2)" && \ OWNER="$(echo $GITHUB_REPOSITORY| cut -d'/' -f 1)" && \ GHIO="${OWNER}.github.io" && \ if [[ "$REPONAME" == "$GHIO" ]]; then - REMOTE_BRANCH="master" + REMOTE_BRANCH="main" else REMOTE_BRANCH="gh-pages" fi && \