dev merge to main #270
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: release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
pip install -U sphinx | |
pip install furo | |
pip install --upgrade myst-parser | |
pip install sphinxcontrib-mermaid | |
pip install sphinx-copybutton | |
pip install sphinx-inline-tabs | |
pip install sphinx_last_updated_by_git | |
pip install sphinx_design | |
pip install sphinx-comments | |
- name: Build | |
run: | | |
make html | |
- name: GitHub Pages action | |
uses: peaceiris/[email protected] | |
with: | |
github_token: ${{secrets.GITHUB_TOKEN}} | |
publish_dir: build/html | |