Skip to content

Commit

Permalink
fix: mkdocs github pages needs to fetch the branch first
Browse files Browse the repository at this point in the history
  • Loading branch information
kiyoon committed Aug 1, 2024
1 parent 4038c46 commit d6f321a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
if [[ -z "${{ inputs.gitlab-project }}" ]]; then
# If the GitLab project name is not provided, we'll deploy to GitHub Pages.
git fetch origin gh-pages --depth=1
if [ "${{ inputs.deploy-type }}" == "latest" ]; then
out=$(mike deploy -p -u latest 2> stderr.txt)
elif [ "${{ inputs.deploy-type }}" == "tag" ]; then
Expand Down

0 comments on commit d6f321a

Please sign in to comment.