refactor: use compas_cgal.isolines for contour extraction #33
Workflow file for this run
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: docs | |
| on: | |
| push: | |
| branches: [master] | |
| paths: | |
| - 'docs/**' | |
| - 'mkdocs.yml' | |
| - '.github/workflows/docs.yml' | |
| pull_request: | |
| branches: [master] | |
| paths: | |
| - 'docs/**' | |
| - 'mkdocs.yml' | |
| - '.github/workflows/docs.yml' | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: | | |
| pip install -e ".[docs]" | |
| - name: Build docs | |
| run: mkdocs build --strict | |
| - name: Configure git for mike | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/master' | |
| run: | | |
| git config user.name github-actions | |
| git config user.email [email protected] | |
| - name: Deploy docs with mike | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/master' | |
| run: | | |
| git fetch origin gh-pages --depth=1 | |
| mike deploy --push --update-aliases latest stable | |
| mike set-default --push latest |