Skip to content

Commit 96d0019

Browse files
committed
👷 Fetch latest commit message from branch to publish
1 parent 48953f1 commit 96d0019

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.circleci/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ jobs:
163163
164164
git clone --single-branch --branch gh-pages git@github.com:${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}.git /tmp/repo
165165
cd /tmp/repo
166+
git remote set-branches --add origin ${CIRCLE_BRANCH}
167+
git fetch origin ${CIRCLE_BRANCH}
166168
167169
if [ "${CIRCLE_BRANCH}" == "main" ]; then
168170
rm -Rf /tmp/repo/versions/${VERSION} 2> /dev/null | true

0 commit comments

Comments
 (0)