Skip to content

Commit

Permalink
Pull gh-pages in workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelburbulla committed Aug 20, 2024
1 parent 49c0f72 commit f879372
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ jobs:
run: |
git config user.name github-actions[bot]
git config user.email github-actions[bot]@users.noreply.github.com
- name: Pull gh-pages
run: |
git fetch origin gh-pages:gh-pages
git checkout gh-pages
git pull origin gh-pages
git checkout main
- name: Setup Python
uses: actions/setup-python@v5
with:
Expand All @@ -39,4 +45,4 @@ jobs:
run: mike deploy --push --update-aliases ${{ env.CURRENT_VERSION }} latest
- name: Publish development
if: ${{ github.event_name == 'push' }}
run: mike deploy development --push
run: mike deploy --push development

0 comments on commit f879372

Please sign in to comment.