Commit 371afe8 1 parent 6b1194a commit 371afe8 Copy full SHA for 371afe8
File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -296,8 +296,8 @@ jobs:
296
296
name : Build Docker Production Images
297
297
environment : production
298
298
if : |
299
- github.event_name == 'release ' &&
300
- github.event.action == 'published '
299
+ github.repository == 'OWASP/Nest ' &&
300
+ github.ref == 'refs/heads/main '
301
301
needs :
302
302
- code-ql
303
303
- run-backend-tests
@@ -359,10 +359,11 @@ jobs:
359
359
PRODUCTION_SSH_PRIVATE_KEY_PATH : ' ~/.ssh/nest_production_private_key'
360
360
environment : production
361
361
if : |
362
- github.event_name == 'release ' &&
363
- github.event.action == 'published '
362
+ github.repository == 'OWASP/Nest ' &&
363
+ github.ref == 'refs/heads/main '
364
364
needs :
365
365
- build-docker-production-images
366
+ - deploy-nest-staging
366
367
runs-on : ubuntu-latest
367
368
steps :
368
369
- name : Check out repository
You can’t perform that action at this time.
0 commit comments