Skip to content

Commit

Permalink
Merge pull request #919 from hngprojects/Ravencodess-patch-1
Browse files Browse the repository at this point in the history
Ravencodess patch 1
  • Loading branch information
Ravencodess authored Aug 6, 2024
2 parents a488030 + fe0c82f commit e00021f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
deploy_to_dev:
if: github.event.repository.fork == false
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest

environment:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/team-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
kimiko-golang:
if: github.event.repository.fork == false
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest

environment:
Expand All @@ -27,7 +27,7 @@ jobs:
./scripts/team_deploy.sh kimiko-golang ${{ vars.PORT }}
kimiko-csharp:
if: github.event.repository.fork == false
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest

environment:
Expand All @@ -46,7 +46,7 @@ jobs:
./scripts/team_deploy.sh kimiko-csharp ${{ vars.PORT }}
anchor-java:
if: github.event.repository.fork == false
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest

environment:
Expand All @@ -65,7 +65,7 @@ jobs:
./scripts/team_deploy.sh anchor-java ${{ vars.PORT }}
anchor-python:
if: github.event.repository.fork == false
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest

environment:
Expand All @@ -84,7 +84,7 @@ jobs:
./scripts/team_deploy.sh anchor-python ${{ vars.PORT }}
bulldozer-php:
if: github.event.repository.fork == false
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest

environment:
Expand All @@ -103,7 +103,7 @@ jobs:
./scripts/team_deploy.sh bulldozer-php ${{ vars.PORT }}
starlight-nestjs:
if: github.event.repository.fork == false
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest

environment:
Expand All @@ -122,7 +122,7 @@ jobs:
./scripts/team_deploy.sh starlight-nestjs ${{ vars.PORT }}
panther-expressjs:
if: github.event.repository.fork == false
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest

environment:
Expand Down

0 comments on commit e00021f

Please sign in to comment.