-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (32 loc) · 1020 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: ci
on:
push:
branches:
- master
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
if: github.event.repository.fork == false
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git@9.1.21-insiders-4.37.1
# - run: pip install mkdocs-git-revision-date-localized-plugin
# Untill my PR is merged
# - run: pip install mkdocs-charts-plugin
- run: pip install git+https://github.com/mgao6767/mkdocs-charts-plugin.git
# - run: pip install mkdocs-git-committers-plugin-2
- run: pip install mkdocs-include-markdown-plugin
- run: pip install mkdocs-rss-plugin
- run: pip install mkdocs-redirects
- run: pip install mkdocs-video
- run: mkdocs gh-deploy --force
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}