Skip to content

Commit b04c96b

Browse files
committed
Update docs.yml
1 parent eb6f3a0 commit b04c96b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/docs.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,25 @@ name: Build and Deploy Sphinx Documentation
33
on:
44
push:
55
branches:
6-
- main # or your default branch name
6+
- main # ou le nom de votre branche principale
77

88
jobs:
99
build-and-deploy:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
1113
steps:
12-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1315

1416
- name: Set up Python
15-
uses: actions/setup-python@v2
17+
uses: actions/setup-python@v4
1618
with:
1719
python-version: '3.x'
1820

1921
- name: Install dependencies
2022
run: |
2123
python -m pip install --upgrade pip
22-
pip install sphinx sphinx_rtd_theme
24+
pip install sphinx sphinx_rtd_theme nbsphinx
2325
2426
- name: Build Documentation
2527
run: |

0 commit comments

Comments
 (0)