Skip to content

Commit b6f3e20

Browse files
committed
ci: public OpenAPI only for main branch & version tags
1 parent 02fce4c commit b6f3e20

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/openapi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
3232
publish:
3333
name: Publish GitHub pages
34+
if: github.ref == 'refs/heads/main' || contains(github.ref, 'tags/v')
3435
runs-on: ubuntu-latest
3536
needs: [ validate ]
3637
steps:

0 commit comments

Comments
 (0)