Skip to content

Commit e181577

Browse files
committed
Only run publishing steps when docs change.
1 parent 2660bd2 commit e181577

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/publish_docs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
branches:
66
- master
7+
paths:
8+
- '**.md'
9+
- '.github/workflow/publish*'
710
workflow_dispatch:
811

912
permissions:
@@ -12,7 +15,7 @@ permissions:
1215

1316
jobs:
1417
build-and-deploy:
15-
name: "Build and DeployDocs"
18+
name: "Build and Deploy Docs"
1619
runs-on: 'ubuntu-latest'
1720
steps:
1821
- uses: 'actions/checkout@v4'

0 commit comments

Comments
 (0)