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 52a7e41 commit f273c1d
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 @@ -65,7 +65,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 f273c1d

Please sign in to comment.