File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build & Deploy Documentation
2+ on :
3+ push :
4+ branches :
5+ - main
6+
7+ permissions :
8+ contents : write
9+ jobs :
10+ deploy :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout repository
14+ uses : actions/checkout@v4
15+
16+ - name : Instal pgnquant for optimize plugin
17+ run : sudo apt-get install pngquant
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-git-authors-plugin mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2 Pillow 'mkdocs-material[imaging]'
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+ MKDOCS_TOKEN : ${{ secrets.MKDOCS_SECRET }}
36+ run : pip install git+https://${MKDOCS_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