Joseph Pollack commited on
Commit
69e32d2
·
1 Parent(s): 157227f

restore docs ci

Browse files
Files changed (1) hide show
  1. .github/workflows/ci.yml +8 -9
.github/workflows/ci.yml CHANGED
@@ -101,15 +101,14 @@ jobs:
101
  run: |
102
  uv sync --extra dev
103
 
104
- - name: Build documentation
105
  run: |
106
- uv run mkdocs build --strict
 
 
107
 
108
  - name: Deploy to GitHub Pages
109
- uses: peaceiris/actions-gh-pages@v3
110
- with:
111
- github_token: ${{ secrets.GITHUB_TOKEN }}
112
- publish_dir: ./site
113
- publish_branch: gh-pages
114
- cname: false
115
- keep_files: false
 
101
  run: |
102
  uv sync --extra dev
103
 
104
+ - name: Configure Git
105
  run: |
106
+ git config user.name "github-actions[bot]"
107
+ git config user.email "github-actions[bot]@users.noreply.github.com"
108
+ git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
109
 
110
  - name: Deploy to GitHub Pages
111
+ run: |
112
+ uv run mkdocs gh-deploy --force --message "Deploy docs [skip ci]"
113
+ env:
114
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}