Commit b04c96b 1 parent eb6f3a0 commit b04c96b Copy full SHA for b04c96b
File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -3,23 +3,25 @@ name: Build and Deploy Sphinx Documentation
3
3
on :
4
4
push :
5
5
branches :
6
- - main # or your default branch name
6
+ - main # ou le nom de votre branche principale
7
7
8
8
jobs :
9
9
build-and-deploy :
10
10
runs-on : ubuntu-latest
11
+ permissions :
12
+ contents : write
11
13
steps :
12
- - uses : actions/checkout@v2
14
+ - uses : actions/checkout@v3
13
15
14
16
- name : Set up Python
15
- uses : actions/setup-python@v2
17
+ uses : actions/setup-python@v4
16
18
with :
17
19
python-version : ' 3.x'
18
20
19
21
- name : Install dependencies
20
22
run : |
21
23
python -m pip install --upgrade pip
22
- pip install sphinx sphinx_rtd_theme
24
+ pip install sphinx sphinx_rtd_theme nbsphinx
23
25
24
26
- name : Build Documentation
25
27
run : |
You can’t perform that action at this time.
0 commit comments