Skip to content

Merge pull request #131 from van-bug/madeline-event #114

Merge pull request #131 from van-bug/madeline-event

Merge pull request #131 from van-bug/madeline-event #114

Workflow file for this run

name: publish gh-pages docs
on:
push:
branches:
- main
jobs:
publish:
name: publish docs
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- name: checkout
uses: actions/checkout@v1
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip install poetry
poetry install --no-root
- run: poetry run mkdocs build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist