FRETraj docs #35
Workflow file for this run
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: FRETraj docs | |
on: | |
push: | |
paths: | |
- 'docs/**' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.9 | |
- name: build docs | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - | |
export POETRY_VIRTUALENVS_CREATE=false | |
pip install jupyter-book matplotlib seaborn | |
poetry install | |
jupyter-book build docs | |
- name: deploy to gh-pages | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: docs/_build/html |