Skip to content

Commit 8658d4c

Browse files
committed
limit openapi generation to master only
1 parent 878fe91 commit 8658d4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/run_gravyvalet_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
SECRET_KEY: oh-so-secret
7777
REDIS_HOST: redis://localhost:6379
7878
- name: generate-openapi
79-
#if: github.ref == 'refs/heads/master'
79+
if: github.ref == 'refs/heads/master'
8080
run: poetry run python manage.py migrate && poetry run python manage.py openapi
8181
env:
8282
DEBUG: 1
@@ -87,7 +87,7 @@ jobs:
8787
SECRET_KEY: oh-so-secret
8888
REDIS_HOST: redis://localhost:6379
8989
- name: upload-artifact
90-
#if: github.ref == 'refs/heads/master'
90+
if: github.ref == 'refs/heads/master'
9191
uses: actions/upload-artifact@v4
9292
with:
9393
path: 'openapi.yml'

0 commit comments

Comments
 (0)