From c0ebf82c70bbe18f996223849c50c5c66ba22fbb Mon Sep 17 00:00:00 2001 From: jasonford Date: Wed, 7 Aug 2024 09:01:21 -0500 Subject: [PATCH 1/3] adding logic for worker --- .github/workflows/push-env.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/push-env.yml b/.github/workflows/push-env.yml index 16de8e8..b449b37 100644 --- a/.github/workflows/push-env.yml +++ b/.github/workflows/push-env.yml @@ -79,6 +79,7 @@ jobs: org: ${{ secrets.PRODVANA_ORG }} api_token: ${{ secrets.PRODVANA_API_TOKEN }} - uses: prodvana/push-to-prodvana-action@v0.2.2 + if: inputs.environment == 'staging' && (!inputs.repo == 'codecov/self-hosted-worker' || !inputs.repo == 'codecov/worker') with: app: codecov-${{ inputs.environment }} service: ${{ secrets.PRODVANA_SERVICE }} From 84681180ee2648612f8e633bca39e3bb8326684a Mon Sep 17 00:00:00 2001 From: jasonford Date: Wed, 7 Aug 2024 09:24:44 -0500 Subject: [PATCH 2/3] adding logic for worker --- .github/workflows/push-env.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push-env.yml b/.github/workflows/push-env.yml index b449b37..c08d7f6 100644 --- a/.github/workflows/push-env.yml +++ b/.github/workflows/push-env.yml @@ -79,7 +79,7 @@ jobs: org: ${{ secrets.PRODVANA_ORG }} api_token: ${{ secrets.PRODVANA_API_TOKEN }} - uses: prodvana/push-to-prodvana-action@v0.2.2 - if: inputs.environment == 'staging' && (!inputs.repo == 'codecov/self-hosted-worker' || !inputs.repo == 'codecov/worker') + if: inputs.environment != 'staging' && (!inputs.repo == 'codecov/parasol' || !inputs.repo == 'codecov/worker') with: app: codecov-${{ inputs.environment }} service: ${{ secrets.PRODVANA_SERVICE }} From 35a66e2d85318678a20cc13bf33d6329459f7ecc Mon Sep 17 00:00:00 2001 From: jasonford Date: Wed, 7 Aug 2024 10:21:25 -0500 Subject: [PATCH 3/3] adding logic for worker --- .github/workflows/push-env.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push-env.yml b/.github/workflows/push-env.yml index c08d7f6..dc61cd4 100644 --- a/.github/workflows/push-env.yml +++ b/.github/workflows/push-env.yml @@ -79,7 +79,7 @@ jobs: org: ${{ secrets.PRODVANA_ORG }} api_token: ${{ secrets.PRODVANA_API_TOKEN }} - uses: prodvana/push-to-prodvana-action@v0.2.2 - if: inputs.environment != 'staging' && (!inputs.repo == 'codecov/parasol' || !inputs.repo == 'codecov/worker') + if: inputs.environment != 'staging' with: app: codecov-${{ inputs.environment }} service: ${{ secrets.PRODVANA_SERVICE }}