Skip to content

Commit 887b2c7

Browse files
committed
docs: format workflow files
1 parent 94212df commit 887b2c7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/docs-pages.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,21 @@ jobs:
2222
ref: ${{ github.event.repository.default_branch }}
2323
persist-credentials: false
2424
fetch-depth: 0
25+
2526
- name: Set up Python
2627
uses: actions/setup-python@v5
2728
with:
2829
python-version: '3.10'
30+
2931
- name: Set up env
3032
run: make -C docs setupenv
33+
3134
- name: Build docs
3235
run: make -C docs multiversion
36+
3337
- name: Build redirects
3438
run: make -C docs redirects
39+
3540
- name: Deploy docs to GitHub Pages
3641
run: ./docs/_utils/deploy.sh
3742
env:

.github/workflows/docs-pr.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ name: "Docs / Build PR"
44

55
on:
66
push:
7+
branches:
8+
- master
79
paths:
810
- "docs/**"
911
- ".github/workflows/docs-pr.yml"
@@ -23,11 +25,14 @@ jobs:
2325
with:
2426
persist-credentials: false
2527
fetch-depth: 0
28+
2629
- name: Set up Python
2730
uses: actions/setup-python@v5
2831
with:
2932
python-version: '3.10'
33+
3034
- name: Set up env
3135
run: make -C docs setupenv
36+
3237
- name: Build docs
3338
run: make -C docs test

0 commit comments

Comments
 (0)