Skip to content

Commit

Permalink
Impr: Only rebuild the mdbook when docs is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
coastalwhite authored Jun 23, 2023
1 parent 5b619a8 commit 63ad3a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
branches:
- main
paths:
- 'docs/**'

jobs:
deploy:
Expand Down Expand Up @@ -46,4 +48,4 @@ jobs:
mv ../book/* .
git add .
git commit -m "Deploy $GITHUB_SHA to gh-pages"
git push --force --set-upstream origin gh-pages
git push --force --set-upstream origin gh-pages

0 comments on commit 63ad3a9

Please sign in to comment.