Skip to content

Commit

Permalink
Do not deploy on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
giggio committed May 24, 2024
1 parent f039469 commit 1748925
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

jobs:
build:
if: github.repository == 'SOS-RS/backend'
runs-on: self-hosted

steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

jobs:
build:
if: github.repository == 'SOS-RS/backend'
runs-on: dev

steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

jobs:
build:
if: github.repository == 'SOS-RS/backend'
runs-on: stg

steps:
Expand Down

0 comments on commit 1748925

Please sign in to comment.