Keep UI clear of camera cutouts and rounded corners; fix mirrored off… #870
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: Deploy Documentation | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| setup_bombsquad_cache: | |
| # Docs deploys only make sense in the upstream repo (forks generally | |
| # don't have GitHub Pages set up, and their runs would just fail). | |
| if: github.repository == 'efroemling/ballistica' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Setup build env | |
| uses: ./.github/actions/bombsquad_build_env | |
| - name: Make the build | |
| run: | | |
| make assets-cmake | |
| make assets-windows | |
| build: | |
| needs: setup_bombsquad_cache | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Setup build env | |
| uses: ./.github/actions/bombsquad_build_env | |
| - name: Build documentation | |
| run: make docs | |
| - name: Upload the build | |
| uses: actions/upload-pages-artifact@v5 | |
| with: | |
| name: html_docs | |
| path: build/docs | |
| deploy: | |
| # Add a dependency to the build job | |
| needs: build | |
| # Grant GITHUB_TOKEN the permissions required to make a Pages deployment | |
| permissions: | |
| pages: write # to deploy to Pages | |
| id-token: write # to verify the deployment originates from an appropriate source | |
| # Deploy to the github-pages environment | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| # Specify runner + deployment step | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v5 | |
| with: | |
| artifact_name: html_docs |