Skip to content

docs: padronizar CLIs dos fetchers em torno de 'sync' #27

docs: padronizar CLIs dos fetchers em torno de 'sync'

docs: padronizar CLIs dos fetchers em torno de 'sync' #27

Workflow file for this run

name: Publish MkDocs Site
on:
push:
branches:
- main
paths:
- "docs/**"
- "mkdocs.yml"
- ".github/workflows/publish.yml"
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: "3.14"
cache: "pip"
- name: Install dependencies
run: |
pip install --upgrade pip
pip install mkdocs mkdocs-material
- name: Build documentation
run: mkdocs build --strict
- name: Upload artifact
uses: actions/upload-pages-artifact@v5
with:
path: "./site"
deploy:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5