add giscus & rm sponsor button #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |