|
3 | 3 | name: Build and Deploy Reference Pages and Other Documentation
|
4 | 4 |
|
5 | 5 | # Ensure documentation builds on all platforms. Deploy from the Ubuntu build.
|
| 6 | +# |
| 7 | +# The plan is for this to be used to build the docs on all platforms for |
| 8 | +# PRs and pushes to main and remove those builds from the platform software |
| 9 | +# builds. On release tags though the platform software builsd will have to |
| 10 | +# build the documentation so it can be included in the release package. |
| 11 | +# Due to a tight deadline for 4.4 there is no time to modify the platform |
| 12 | +# software builds to build docs only on release tags so they continue to |
| 13 | +# build for PRs and pushes to main. Therefore all but the Ubuntu build have |
| 14 | +# been disabled here for now. |
| 15 | +# The ubuntu build is used to deploy the docs to GitHub Pages on a release |
| 16 | +# build. The plan, once the destination is set up, is to use this workflow |
| 17 | +# to deploy the docs for a release to a location on khronos.org and docs |
| 18 | +# for any pushes to main to GitHub Pages. |
6 | 19 |
|
7 | 20 | on:
|
8 | 21 | # Trigger the workflow on a pull request,
|
|
44 | 57 | name: Build KTX-Software reference pages and documentation
|
45 | 58 | strategy:
|
46 | 59 | matrix:
|
47 |
| - os: [ macos-latest, ubuntu-latest, windows-latest ] |
| 60 | + #os: [ macos-latest, ubuntu-latest, windows-latest ] |
| 61 | + os: [ ubuntu-latest ] |
48 | 62 |
|
49 | 63 | runs-on: ${{ matrix.os }}
|
50 | 64 |
|
@@ -114,7 +128,7 @@ jobs:
|
114 | 128 | # Only deploy when building `main`.
|
115 | 129 | # if: github.ref == 'refs/heads/main'
|
116 | 130 | # Only deploy when building for a release tag. Note that filtering in
|
117 |
| - # on: means the only tags jobs run for are release tags. |
| 131 | + # on: means the only tags the workflow runs for are release tags. |
118 | 132 | if: startsWith(github.ref, 'refs/tags')
|
119 | 133 |
|
120 | 134 | runs-on: ubuntu-latest
|
|
0 commit comments