From a0ea359cc0e3a0bac4701c3a301e6aa0c2e51602 Mon Sep 17 00:00:00 2001 From: Ravencodess <115118888+Ravencodess@users.noreply.github.com> Date: Tue, 6 Aug 2024 04:44:26 +0100 Subject: [PATCH 1/2] Update team-deployment.yml Signed-off-by: Ravencodess <115118888+Ravencodess@users.noreply.github.com> --- .github/workflows/team-deployment.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/team-deployment.yml b/.github/workflows/team-deployment.yml index 5c61ae919..6e8de6d6a 100644 --- a/.github/workflows/team-deployment.yml +++ b/.github/workflows/team-deployment.yml @@ -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: @@ -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: @@ -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: @@ -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: @@ -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: @@ -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: @@ -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: From fe0c82f3379df586a427154d68fd6cda7744b7ba Mon Sep 17 00:00:00 2001 From: Ravencodess <115118888+Ravencodess@users.noreply.github.com> Date: Tue, 6 Aug 2024 04:44:59 +0100 Subject: [PATCH 2/2] Update dev-deployment.yml Signed-off-by: Ravencodess <115118888+Ravencodess@users.noreply.github.com> --- .github/workflows/dev-deployment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dev-deployment.yml b/.github/workflows/dev-deployment.yml index 7e06fdd6c..553bbbb48 100644 --- a/.github/workflows/dev-deployment.yml +++ b/.github/workflows/dev-deployment.yml @@ -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: