* SetProperties working * cleanup * added Node * switched to Vite * scene export working * vertex color output works * added unlit * fixed rename bug * switch worker to TS * don't fail on empty manifolds * reusing meshes * cleanup, updated gyroid example * change signature of setPropFunc * updated examples * add dist for githack testing * Revert "add dist for githack testing" This reverts commit 8769d7ab08dfaab9fe7824726f7a7229bf553bb3. * remove duplicate files * updated docs * fixed some bugs * multi-material working * switched to vitest * tests pass * fixed examples * fix CI * update deployment * tweak logging * cleanup * fix copy * updated READMEs * extend timeout
40 lines
880 B
YAML
40 lines
880 B
YAML
name: Deploy documentation
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
deploy_github_pages:
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Doxygen Action
|
|
uses: mattnotmitt/doxygen-action@v1
|
|
|
|
- name: Move deployables
|
|
run: |
|
|
mkdir public
|
|
mv ./samples ./public
|
|
mv ./docs ./public
|
|
|
|
- name: Download built examples
|
|
uses: dawidd6/action-download-artifact@v2
|
|
with:
|
|
workflow: manifold.yml
|
|
workflow_conclusion: completed
|
|
pr: ${{github.event.pull_request.number}}
|
|
name: wasm
|
|
path: ./public
|
|
|
|
- name: Deploy to Github Pages
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_branch: gh-pages
|
|
force_orphan: true
|
|
cname: manifoldcad.org
|
|
publish_dir: ./public |