File tree 2 files changed +37
-93
lines changed
2 files changed +37
-93
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Run mkdocs
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+
7
+ workflow_dispatch :
8
+ branches :
9
+
10
+ permissions :
11
+ contents : write
12
+ jobs :
13
+ deploy :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - name : Checkout repository
17
+ uses : actions/checkout@v3
18
+
19
+ - name : Set up Python runtime
20
+ uses : actions/setup-python@v4
21
+ with :
22
+ python-version : 3.x
23
+
24
+ - name : Install Python dependencies
25
+ run : pip install mkdocs-monorepo-plugin mkdocs-redirects mkdocs-with-pdf weasyprint mkdocs-git-authors-plugin mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2
26
+
27
+ - name : Set up build cache
28
+ uses : actions/cache@v2
29
+ with :
30
+ key : ${{ github.ref }}
31
+ path : .cache
32
+
33
+ - name : Install Insiders build
34
+ env :
35
+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
36
+ run : pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
37
+ - run : mkdocs gh-deploy --force
You can’t perform that action at this time.
0 commit comments