Merge pull request #226 from sbaldu/feature-separate-coords-buffers #72
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: GitHub Pages | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| submodules: true | |
| ref: main | |
| - name: Switch to gh-pages branch and rebase | |
| run: | | |
| git fetch | |
| git checkout gh-pages | |
| git reset --hard main | |
| - name: Doxygen Action | |
| uses: mattnotmitt/doxygen-action@edge | |
| - name: Set up git | |
| run: | | |
| git config --global user.name "${GITHUB_ACTOR}" | |
| git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com" | |
| - name: Switch to gh-pages branch and rebase | |
| run: | | |
| git add ./docs --force | |
| git commit -m "Auto-deploy documentation" | |
| git push origin gh-pages --force |