From 1f62e865c62746900ea52bbd8d9f16651c841f9b Mon Sep 17 00:00:00 2001 From: Sajjad Anwar Date: Thu, 1 Feb 2024 18:40:34 +0530 Subject: [PATCH] update branches to trigger. send ref with the trigger event --- .github/workflows/trigger-workflow.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/trigger-workflow.yml b/.github/workflows/trigger-workflow.yml index 7b93ade3..886a255e 100644 --- a/.github/workflows/trigger-workflow.yml +++ b/.github/workflows/trigger-workflow.yml @@ -3,8 +3,8 @@ on: push: branches: - 'develop' - - 'main' - - 'add/select-mosaic' + - 'v2' + - 'test-trigger' jobs: trigger-deploy: runs-on: ubuntu-latest @@ -15,6 +15,6 @@ jobs: with: workflow: frontend-staging.yml repo: developmentseed/pearl-reforestamos-deploy - inputs: '{ "commit": "${{ github.event.after }}" }' + inputs: '{ "commit": "${{ github.event.after }}", "branch": "${{ github.ref }}" }' ref: main token: ${{ secrets.PAT }}