Skip to content

Commit d3f2f96

Browse files
authored
Release: Embree4 + Docs (#2530)
Release with [Embree 4 support](trimesh/embreex#10). This shouldn't break anything for Embree 2.X which still passes `test_ray.py`. Previous release was blocked by a docs build that was failing (third time's the charm?), check out #2520 for much more detail on the embree changes. - release #2520 - fix the docs build. - fix #2528
2 parents 41d3510 + 86c3c09 commit d3f2f96

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,12 @@ jobs:
7878
name: Build Docker Images
7979
runs-on: ubuntu-latest
8080
permissions:
81-
contents: write # for gh-pages deployment
81+
contents: read
82+
pages: write
83+
id-token: write
84+
environment:
85+
name: github-pages
86+
url: ${{ steps.deployment.outputs.page_url }}
8287
steps:
8388
- name: Log In to Docker Hub
8489
env:
@@ -93,11 +98,15 @@ jobs:
9398
make tests # build docker images and run unit tests
9499
make publish-docker # push images to docker hub
95100
make docs # build sphinx docs
96-
- name: Deploy Github Pages
97-
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
101+
- name: Configure Pages
102+
uses: actions/configure-pages@v5
103+
- name: Upload Pages artifact
104+
uses: actions/upload-pages-artifact@v3
98105
with:
99-
publish_dir: ./html
100-
force_orphan: true
106+
path: ./html
107+
- name: Deploy to GitHub Pages
108+
id: deployment
109+
uses: actions/deploy-pages@v4
101110
- name: Logout of registries
102111
if: always()
103112
run: |

0 commit comments

Comments
 (0)