name: deploy_website
on:
  push:
    branches:
      - master
jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-python@v2
        with:
          python-version: 3.x
      - run: pip install mkdocs-material==9.0.3
      - run: pip install https://github.com/mitya57/python-markdown-math/archive/master.zip
      - run: pip install mkdocs-exclude
      - run: pip install mkdocs-redirects
      - run: mkdocs gh-deploy --force
