···11name: Deploy mdBook site to Pages
2233on:
44- # Runs on pushes targeting the default branch
44+ # Runs on pushes targeting the default branch, only when docs or this workflow change
55 push:
66 branches: ["main"]
77+ paths:
88+ - "docs/**"
99+ - ".github/workflows/mdbook.yml"
710811 # Allows you to run this workflow manually from the Actions tab
912 workflow_dispatch: