Skip to content

Commit 2da6148

Browse files
committed
respec workflow only on demand
1 parent 0209e1e commit 2da6148

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/respec.yaml

+1-4
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,8 @@ name: respec
88
# on the gh-pages branch when the corresponding markdown files change.
99
#
1010

11-
# run this on push to main
11+
# run this manually from main
1212
on:
13-
push:
14-
branches:
15-
- main
1613
workflow_dispatch: {}
1714

1815
jobs:

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ The steps for creating a `vX.Y.Z-rel` branch are:
218218
5. Merge `vX.Y.Z-rel` into `main` via PR
219219
- this PR should only add files `versions/X.Y.Z.md` and `versions/X.Y.Z-editors.md`
220220

221-
The HTML renderings of the specification versions are automatically generated from the `versions` directory on `main` by the [`respec` workflow](https://github.com/OAI/OpenAPI-Specification/blob/main/.github/workflows/respec.yaml), which generates a pull request for publishing the HTML renderings to the [spec site](https://spec.openapis.org).
221+
The HTML renderings of the specification versions are generated from the `versions` directory on `main` by manually triggering the [`respec` workflow](https://github.com/OAI/OpenAPI-Specification/blob/main/.github/workflows/respec.yaml), which generates a pull request for publishing the HTML renderings to the [spec site](https://spec.openapis.org).
222222

223223
### Schema Iterations
224224

0 commit comments

Comments
 (0)