From 82e7d0032d903366a5ba3503cdb7c9f08d44f1d7 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Fri, 16 Dec 2022 01:32:20 +0000 Subject: [PATCH 1/2] Update push-to-prod.yml --- .github/workflows/push-to-prod.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/push-to-prod.yml b/.github/workflows/push-to-prod.yml index 1b552aaa..7681344c 100644 --- a/.github/workflows/push-to-prod.yml +++ b/.github/workflows/push-to-prod.yml @@ -118,3 +118,10 @@ jobs: with: balena_api_token: ${{secrets.BALENA_API_TOKEN_3}} balena_command: "deploy nebraltd/helium-${{ matrix.sbc }} --logs --debug --nocache --build" + - name: Trigger build action in helium-${{ matrix.sbc }} repo + uses: peter-evans/repository-dispatch@v1 + if: ( matrix.sbc == 'rak' || matrix.sbc == 'pisces' || matrix.sbc == 'og' || matrix.sbc == 'sensecap' || matrix.sbc == 'finestra' || matrix.sbc == 'controllino' || matrix.sbc == 'cotx' || matrix.sbc == 'pantherx1' || matrix.sbc == 'linxdot' || matrix.sbc == 'syncrobit' || matrix.sbc == 'pycom' || matrix.sbc == 'risinghf') && success() + with: + token: ${{ secrets.MR_BUMP }} + event-type: build-open-fleet + repository: NebraLtd/helium-${{ matrix.sbc }} From db01de15770f884e25712331b508876e8e65a7c4 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Fri, 16 Dec 2022 01:33:01 +0000 Subject: [PATCH 2/2] Update push-to-prod-draft.yml --- .github/workflows/push-to-prod-draft.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/push-to-prod-draft.yml b/.github/workflows/push-to-prod-draft.yml index 4344d8b7..0f6776d3 100644 --- a/.github/workflows/push-to-prod-draft.yml +++ b/.github/workflows/push-to-prod-draft.yml @@ -117,3 +117,10 @@ jobs: with: balena_api_token: ${{secrets.BALENA_API_TOKEN_3}} balena_command: "deploy nebraltd/helium-${{ matrix.sbc }} --logs --debug --nocache --build --draft" + - name: Trigger build action in helium-${{ matrix.sbc }} repo + uses: peter-evans/repository-dispatch@v1 + if: ( matrix.sbc == 'rak' || matrix.sbc == 'pisces' || matrix.sbc == 'og' || matrix.sbc == 'sensecap' || matrix.sbc == 'finestra' || matrix.sbc == 'controllino' || matrix.sbc == 'cotx' || matrix.sbc == 'pantherx1' || matrix.sbc == 'linxdot' || matrix.sbc == 'syncrobit' || matrix.sbc == 'pycom' || matrix.sbc == 'risinghf') && success() + with: + token: ${{ secrets.MR_BUMP }} + event-type: build-open-fleet + repository: NebraLtd/helium-${{ matrix.sbc }}