Skip to content

Commit

Permalink
use github token
Browse files Browse the repository at this point in the history
  • Loading branch information
JHogenboom committed Jul 5, 2024
1 parent 42bf616 commit b847e58
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/update_wiki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,14 @@ jobs:

- name: Push Documentation to Wiki
env:
WIKI_GIT_URL: https://github.com/${{ github.repository }}.wiki.git
WIKI_GIT_URL: https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.wiki.git
DOCS_DIR: docs/_build/html
run: |
# Setup git and clone wiki repo
# Setup git
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
git config --global user.name "${{ github.actor }}"
# Clone wiki repo using authenticated URL
git clone $WIKI_GIT_URL wiki
# Replace Home.md with the converted index.rst
Expand Down

0 comments on commit b847e58

Please sign in to comment.