Skip to content

Merge pull request #86 from rjmalves/implementa-leitura-arquivos #102

Merge pull request #86 from rjmalves/implementa-leitura-arquivos

Merge pull request #86 from rjmalves/implementa-leitura-arquivos #102

Workflow file for this run

name: Docs
on:
push:
branches:
- main
workflow_dispatch:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Set up Python
run: uv python install
- name: Install the project
run: |
uv sync --all-extras --dev
- name: Runs tests
run: |
uv run pytest ./tests
- name: Sphinx build
run: |
uv run sphinx-build -M html docs/source docs/build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/html
force_orphan: true