Skip to content

Commit 56a4eba

Browse files
authored
checkout the branch not commit sha (github#20748)
1 parent e092670 commit 56a4eba

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/workflows/sync-single-english-index.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ jobs:
4646
LANGUAGE: 'en'
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4848
run: |
49+
echo 'git show-ref'
50+
git show-ref
51+
echo 'git checkout $GITHUB_HEAD_REF'
52+
git checkout $GITHUB_HEAD_REF
4953
npm run build
5054
npm run sync-search
5155

0 commit comments

Comments
 (0)