This file contains 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: Deploy documentation | |
on: | |
push: | |
branches: | |
- pages | |
jobs: | |
deploy_github_pages: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- 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@v3 | |
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 |