Skip to content

Commit

Permalink
Add git user to mike deployment (#177)
Browse files Browse the repository at this point in the history
Mike requires a git user otherwise it will fail to deploy.
  • Loading branch information
Archmonger authored Aug 26, 2023
1 parent 085cebe commit e5f27da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/publish-develop-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@ jobs:
python-version: 3.x
- run: pip install -r requirements/build-docs.txt
- name: Publish Develop Docs
run: mike deploy --push develop
run: |
git config user.name github-actions
git config user.email github-actions@github.com
mike deploy --push develop
5 changes: 4 additions & 1 deletion .github/workflows/publish-release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ jobs:
python-version: 3.x
- run: pip install -r requirements/build-docs.txt
- name: Publish ${{ github.event.release.name }} Docs
run: mike deploy --push --update-aliases ${{ github.event.release.name }} latest
run: |
git config user.name github-actions
git config user.email github-actions@github.com
mike deploy --push --update-aliases ${{ github.event.release.name }} latest

0 comments on commit e5f27da

Please sign in to comment.