mirror of
https://github.com/RYDE-WORK/full-stack-fastapi-template.git
synced 2026-01-19 13:13:25 +08:00
🔧 Update deploy workflows to exclude the main repository (#1284)
This commit is contained in:
parent
bb5732dcbc
commit
14c09b937d
2
.github/workflows/deploy-production.yml
vendored
2
.github/workflows/deploy-production.yml
vendored
@ -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
vendored
2
.github/workflows/deploy-staging.yml
vendored
@ -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…
x
Reference in New Issue
Block a user