File tree 2 files changed +35
-1
lines changed
2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish Docs to GitHub Pages
2
+
3
+ permissions :
4
+ contents : write
5
+
6
+ on :
7
+ push :
8
+ branches :
9
+ - develop
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ - name : Checkout code
17
+ uses : actions/checkout@v2
18
+
19
+ - name : Set up Python
20
+ uses : actions/setup-python@v2
21
+ with :
22
+ python-version : 3.x
23
+
24
+ - name : Install dependencies
25
+ run : pip install mkdocs-material
26
+
27
+ - name : Build docs
28
+ run : mkdocs build
29
+
30
+ - name : Deploy to GitHub Pages
31
+ uses : peaceiris/actions-gh-pages@v3
32
+ with :
33
+ personal_token : ${{ secrets.GITHUB_TOKEN }}
34
+ publish_dir : ./site
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ docker run --rm -it \
9
9
-w $MOUNT_FOLDER \
10
10
-p $MKDOCS_DEV_PORT :$MKDOCS_DEV_PORT \
11
11
-e MKDOCS_DEV_ADDR=" $MKDOCS_DEV_ADDR :$MKDOCS_DEV_PORT " \
12
- squidfunk/mkdocs-material:3.2.0 $*
12
+ squidfunk/mkdocs-material:latest $*
You can’t perform that action at this time.
0 commit comments