docs: honest homepage gallery, doc-drift note, CONTRIBUTING.md (#6) #7
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: Site | |
| # Builds the documentation site and publishes it to GitHub Pages from main, | |
| # serving at https://jlt-commons.github.io/raylib-android/. | |
| # | |
| # The build itself lives in jlt-commons/ci-builds, shared by every project so | |
| # the scaffolding is fixed in one place. What stays here is what is actually | |
| # this project's: the content under docs/, its config in docs/site.edn, the | |
| # base path below, and the assertions in docs/check-site.sh. | |
| # | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| # Deploys must not race, and a half-applied Pages deployment is worse than a | |
| # slightly stale one, so main is never cancelled. Pull request builds are | |
| # scoped per ref and cancel their own earlier runs. | |
| concurrency: | |
| group: site-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
| jobs: | |
| site: | |
| uses: jlt-commons/ci-builds/.github/workflows/site.yml@main | |
| with: | |
| base-path: /raylib-android | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write |