File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 88 steps :
99 - uses : actions/checkout@v2
1010
11- - name : List directories
12- run : ls -al
13-
1411 - name : Setup JDK 1.8
1512 uses : actions/setup-java@v1
1613 with :
1916 - name : Set up Python
2017 uses : actions/setup-python@v2
2118 with :
22- python-version : ' 3.x '
19+ python-version : ' 3.8 '
2320
2421 - name : Setup Python dependencies
2522 run : pip3 install --upgrade pip && pip3 install -r ./docs/requirements.txt
@@ -28,10 +25,17 @@ jobs:
2825 run : gradle dokkaGfm
2926
3027 - name : Cleanup existing docs
31- run : rm -rf docs/docs/docs/api && mkdir docs/docs/api
28+ run : rm -rf docs/docs/docs/api && mkdir docs/docs/docs/ api
3229
3330 - name : Copy generated docs
3431 run : cp -r build/dokka/coroutines-network-response-adapter/* docs/docs/docs/api
3532
3633 - name : Build mkdocs website
37- run : cd ./docs/docs && mkdocs build
34+ run : cd ./docs/docs && mkdocs build --clean --verbose
35+
36+ - name : Deploy mkdocs website
37+ uses : peaceiris/actions-gh-pages@v3
38+ with :
39+ github_token : ${{ secrets.GITHUB_TOKEN }}
40+ publish_dir : docs/docs/site
41+ publish_branch : gh-pages
You can’t perform that action at this time.
0 commit comments