Skip to content

Merge pull request #478 from gdsfactory/bbox-poly-extract-path-fix #377

Merge pull request #478 from gdsfactory/bbox-poly-extract-path-fix

Merge pull request #478 from gdsfactory/bbox-poly-extract-path-fix #377

Workflow file for this run

name: Build docs
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-docs:
runs-on: ubuntu-latest
name: Sphinx docs to gh-pages
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.gdsfactory/
key: 0.0.1
restore-keys: 0.0.1
- uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: '1.3.1-0'
init-shell: bash
- name: Install dependencies and build docs
env:
SIMCLOUD_APIKEY: ${{ secrets.SIMCLOUD_APIKEY }}
GDSFACTORY_DISPLAY_TYPE: klayout
run: |
eval "$(micromamba shell hook --shell=bash)"
micromamba activate
micromamba install -c conda-forge pymeep=*=mpi_mpich_* nlopt -y
make dev test-data
make docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "./docs/_build/html/"
deploy-docs:
needs: build-docs
permissions:
pages: write
id-token: write
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@v4