🔧 Update deploy workflows to exclude the main repository (#1284)

This commit is contained in:
Alejandra 2024-08-02 14:04:54 -05:00 committed by GitHub
parent bb5732dcbc
commit 14c09b937d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,8 @@ on:
jobs:
deploy:
# Do not deploy in the main repository, only in user projects
if: github.repository_owner != 'tiangolo'
runs-on:
- self-hosted
- production

View File

@ -7,6 +7,8 @@ on:
jobs:
deploy:
# Do not deploy in the main repository, only in user projects
if: github.repository_owner != 'tiangolo'
runs-on:
- self-hosted
- staging