Skip to content

Commit 4b92d70

Browse files
committed
ci: do explicit fetch
1 parent c47eae2 commit 4b92d70

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/sync-en-doc.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
5252
BASE_BRANCH="$(echo v$(echo $EMQX_VERSION | awk -F. '{print $1$2}'))"
5353
NEW_BRANCH="sync-${EMQX_VERSION}"
54+
git fetch origin
5455
git checkout -b ${NEW_BRANCH} --track origin/${BASE_BRANCH}
5556
cp _build/docgen/emqx-enterprise/desc.en.hocon ./
5657
git add desc.en.hocon

0 commit comments

Comments
 (0)