Skip to content

Commit

Permalink
Ensure git is proper configured for mike deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Cirras committed Nov 6, 2023
1 parent ad7a983 commit 60bbafe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ jobs:
uses: battila7/get-version-action@v2

- name: Deploy documentation
run: hatch run docs:deploy ${{ steps.get-version.outputs.version-without-v }}
run: |
git fetch origin gh-pages --depth=1
git config user.name github-actions
git config user.email [email protected]
hatch run docs:deploy ${{ steps.get-version.outputs.version-without-v }}
publish-github:
needs: publish-docs
Expand Down

0 comments on commit 60bbafe

Please sign in to comment.