1 parent e39740e commit 66f074eCopy full SHA for 66f074e
1 file changed
.github/workflows/render-book.yml
@@ -41,9 +41,9 @@ jobs:
41
echo "Checking docs directory:"
42
ls -la docs/
43
44
- - name: Commit and push if changed
45
- run: |
46
- git config --local user.email "action@github.com"
47
- git config --local user.name "GitHub Action"
48
- git add docs/
49
- git diff --quiet && git diff --staged --quiet || (git commit -m "Update rendered book" && git push)
+ - name: Deploy to GitHub Pages
+ uses: JamesIves/github-pages-deploy-action@v4
+ with:
+ folder: docs
+ branch: main
+ clean: true
0 commit comments