File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Run mkdocs
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@v3
15+
16+ - name : Set up Python runtime
17+ uses : actions/setup-python@v4
18+ with :
19+ python-version : 3.x
20+
21+ - name : Install Python dependencies
22+ 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
23+
24+ # - name: Install Chrome
25+ # run: sudo apt install google-chrome-stable
26+
27+ # - run: pip uninstall -y beautifulsoup4
28+ # - run: pip install beautifulsoup4==4.9.3
29+
30+ - name : Set up build cache
31+ uses : actions/cache@v2
32+ with :
33+ key : ${{ github.ref }}
34+ path : .cache
35+
36+ - name : Install Insiders build
37+ env :
38+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
39+ run : pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
40+ - run : mkdocs gh-deploy --force
You can’t perform that action at this time.
0 commit comments