Skip to content

Commit 66f074e

Browse files
committed
Update workflow to use main branch for GitHub Pages
1 parent e39740e commit 66f074e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/render-book.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ jobs:
4141
echo "Checking docs directory:"
4242
ls -la docs/
4343
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)
44+
- name: Deploy to GitHub Pages
45+
uses: JamesIves/github-pages-deploy-action@v4
46+
with:
47+
folder: docs
48+
branch: main
49+
clean: true

0 commit comments

Comments
 (0)