Browse Source

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

pull/13907/head
Alejandra 1 year ago
committed by GitHub
parent
commit
14c09b937d
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      .github/workflows/deploy-production.yml
  2. 2
      .github/workflows/deploy-staging.yml

2
.github/workflows/deploy-production.yml

@ -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

2
.github/workflows/deploy-staging.yml

@ -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

Loading…
Cancel
Save