Skip to content

Merge pull request #10 from prefeitura-rio/development #2

Merge pull request #10 from prefeitura-rio/development

Merge pull request #10 from prefeitura-rio/development #2

Workflow file for this run

name: Lib - Docs
on:
push:
branches:
- main
paths:
- ".github/workflows/lib-*"
- "lib/**/*"
jobs:
docs:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.10.x"
- name: Upgrade pip
run: |
pip install -U pip poetry
- name: Install package and doc dependencies
run: |
cd lib/
poetry install
- name: Generate docs
run: |
cd lib/
poetry run docs
- name: Deploy docs
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: lib/docs/fhir_utils