-
-
Notifications
You must be signed in to change notification settings - Fork 596
34 lines (29 loc) · 879 Bytes
/
gh-pages.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
33
34
name: gh-pages
on: push
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.6'
- name: Install dependencies
run: |
pip install mkdocs==0.17.2
pip install mkdocs-material==2.5.2
pip install python-markdown-math
pip install pygments==2.3.1
pip install pymdown-extensions==9.1
pip install git+https://github.com/szcf-weiya/mkdocs-git-revision-date-plugin.git
- name: Build
run: |
python gentag.py
mkdocs build
mv rmds/_site/ site/rmds
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site