Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewww authored Sep 20, 2024
1 parent 1973722 commit ace7198
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,10 @@ jobs:
pip install mkdocs mkdocs-material
- name: Deploy to GitHub Pages
- name: Deploy to GitHub Pages
env:
GH_PAT: ${{ secrets.GH_PAT }}
run: |
mkdocs gh-deploy --config-file site/mkdocs.yml --force
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
mkdocs gh-deploy --config-file site/mkdocs.yml --force --remote-name origin --remote-branch gh-pages --remote-url https://x-access-token:${{ secrets.GH_PAT }}@github.com/${{ github.repository }}.git

0 comments on commit ace7198

Please sign in to comment.