Skip to content

Commit c6ca03f

Browse files
committed
Hotfix: fetch gh-pages before running mike
1 parent 352ef53 commit c6ca03f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/doc-pub.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
- name: Deploy release version using mike
3939
if: startsWith(github.ref, 'refs/tags/v')
4040
run: |
41+
git fetch origin gh-pages --depth=1
4142
version=${GITHUB_REF##*/}
4243
echo "Deploying release version $version"
4344
mike deploy "$version" latest --update-aliases --push

0 commit comments

Comments
 (0)