Skip to content

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
albertandking committed Apr 1, 2024
1 parent 00939c0 commit da6d166
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@ jobs:
git config user.name "github-actions[bot]"
- name: Deploy MkDocs site
run: |
git config pull.rebase true
git pull origin gh-pages
if git ls-remote --exit-code --heads origin gh-pages > /dev/null 2>&1; then
git config pull.rebase true
git pull origin gh-pages
else
echo "gh-pages branch does not exist yet. Skipping pull."
fi
version=$(date +%Y.%m.%d)
mike deploy --push --update-aliases $version latest
mike set-default --push latest

0 comments on commit da6d166

Please sign in to comment.