fix(formatting): Minor formatting changes #175
This file contains hidden or 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: Documentation | |
| on: | |
| push: | |
| branches: [ master ] | |
| tags: '*' | |
| jobs: | |
| build-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@master | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python '3.12' | |
| uses: actions/setup-python@v5.4.0 | |
| with: | |
| python-version: '3.12' | |
| - name: Install uv and set the python version | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| version: 0.7.2 | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install airflow-dbt-python with uv | |
| run: uv sync --dev --extra airflow-providers | |
| - name: Install Graphviz | |
| run: sudo apt-get install graphviz | |
| - name: Build documentation | |
| run: | | |
| mkdir gh-pages | |
| touch gh-pages/.nojekyll | |
| cd docs/ | |
| uv run sphinx-build -b html . _build | |
| cp -r _build/* ../gh-pages/ | |
| - name: Deploy documentation | |
| if: ${{ github.ref_type == 'tag' }} | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| branch: gh-pages | |
| folder: gh-pages |