Skip to content

Commit c2ca998

Browse files
authored
fix docs.yaml
1 parent 1ed75f2 commit c2ca998

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docs.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@ jobs:
3535
git config user.name github-actions-runner
3636
git config user.email aaq@idinsight.org
3737
git fetch origin gh-pages
38-
mike set-default latest
3938
mike deploy \
4039
--push \
40+
--title="${{ github.ref_name }}" \
4141
--update-aliases ${{ github.ref_name }} latest
42+
mike set-default latest --allow-undefined --push
4243
4344
- name: Add CNAME
4445
run: |
45-
git fetch origin
4646
git switch gh-pages
47-
echo "docs.ask-a-question.com" > CNAME
47+
echo "docs.ask-a-question.com" >> CNAME
4848
git add CNAME
4949
git commit -m "Add CNAME"
50-
git push origin gh-pages
50+
git push -f origin gh-pages

0 commit comments

Comments
 (0)