Skip to content

Merge pull request #145 from bonipart/main #186

Merge pull request #145 from bonipart/main

Merge pull request #145 from bonipart/main #186

Workflow file for this run

name: Docs
on:
push:
branches: [main]
jobs:
docs:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.9
#----------------------------------------------
# ----- install & configure poetry -----
#----------------------------------------------
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: 1.3.2
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
#----------------------------------------------
# install dependencies
#----------------------------------------------
- name: Install dependencies
run: poetry install --no-interaction --no-root
#----------------------------------------------
# install your root project
#----------------------------------------------
- name: install library
run: poetry install --no-interaction
- name: Deploy docs
run: poetry run mkdocs gh-deploy --force