File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 1
- # Deploy MkDocs Documentation
2
1
name : Deploy Docs
3
2
4
3
on :
5
4
push :
6
- branches : [ main ]
5
+ branches : [main]
7
6
workflow_dispatch :
8
7
8
+ permissions :
9
+ contents : write
10
+
9
11
jobs :
10
12
deploy :
11
13
runs-on : ubuntu-latest
12
14
steps :
13
15
- uses : actions/checkout@v4
14
-
16
+
15
17
- name : Set up Python
16
18
uses : actions/setup-python@v5
17
19
with :
18
- python-version : ' 3.11'
19
-
20
+ python-version : " 3.11"
21
+
20
22
- name : Install Poetry
21
23
uses : snok/install-poetry@v1
22
24
with :
23
25
version : latest
24
26
virtualenvs-create : true
25
27
virtualenvs-in-project : true
26
-
28
+
27
29
- name : Install dependencies
28
30
run : poetry install --with dev
29
-
31
+
30
32
- name : Build docs
31
33
run : poetry run mkdocs build
32
-
34
+
33
35
- name : Deploy to GitHub Pages
34
36
uses : peaceiris/actions-gh-pages@v4
35
37
with :
You can’t perform that action at this time.
0 commit comments