Skip to content

Commit a5a0cc9

Browse files
committed
[docs]
1 parent 1261745 commit a5a0cc9

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@ name: Deploy Documentation
33
on:
44
push:
55
branches:
6-
- main # or 'master' if that's your default branch
7-
paths:
8-
- 'docs/**'
9-
- '.github/workflows/deploy-docs.yml'
6+
- main
107

118
jobs:
12-
build-and-deploy:
9+
deploy-docs:
10+
if: contains(github.event.head_commit.message, '[docs]')
1311
runs-on: ubuntu-latest
1412

1513
steps:
@@ -24,7 +22,7 @@ jobs:
2422
- name: Install dependencies
2523
run: |
2624
python -m pip install --upgrade pip
27-
pip install -r docs/requirements.txt # adjust path as needed
25+
pip install -r docs/requirements.txt
2826
pip install ghp-import
2927
3028
- name: Build HTML docs

0 commit comments

Comments
 (0)