diff --git a/.github/workflows/image_build_push.yml b/.github/workflows/image_build_push.yml index 390fefb28..26454bb7a 100644 --- a/.github/workflows/image_build_push.yml +++ b/.github/workflows/image_build_push.yml @@ -103,36 +103,36 @@ jobs: git push origin fi - # dispatch: - # needs: build - # runs-on: ubuntu-latest + dispatch: + needs: build + runs-on: ubuntu-latest - # strategy: - # matrix: - # include: - # - repo: nrel-openpath-join-page - # branch: cleanup-cicd - # - repo: op-admin-dashboard - # branch: cleanup-cicd - # - repo: em-public-dashboard - # branch: cleanup-cicd - # # - repo: e-mission/op-admin-dashboard - # # branch: master - # # - repo: e-mission/em-public-dashboard - # # branch: main - - # steps: - # - uses: actions/checkout@v4 - - # - name: Trigger workflow in admin-dash, public-dash - # run: | - # curl -L \ - # -X POST \ - # -H "Accept: application/vnd.github+json" \ - # -H "Authorization: Bearer ${{ secrets.GH_FG_PAT_TAGS }}" \ - # -H "X-GitHub-Api-Version: 2022-11-28" \ - # https://api.github.com/repos/${{ matrix.repo }}/actions/workflows/image_build_push.yml/dispatches \ - # -d '{"ref":"${{ matrix.branch }}"}' + strategy: + matrix: + include: + - repo: MukuFlash03/nrel-openpath-join-page + branch: cleanup-cicd + - repo: MukuFlash03/op-admin-dashboard + branch: cleanup-cicd + - repo: MukuFlash03/em-public-dashboard + branch: cleanup-cicd + # - repo: e-mission/op-admin-dashboard + # branch: master + # - repo: e-mission/em-public-dashboard + # branch: main + + steps: + - uses: actions/checkout@v4 + + - name: Trigger workflow in admin-dash, public-dash + run: | + curl -L \ + -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${{ secrets.GH_FG_PAT_TAGS }}" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + https://api.github.com/repos/${{ matrix.repo }}/actions/workflows/image_build_push.yml/dispatches \ + -d '{"ref":"${{ matrix.branch }}"}' # cascade-image-build: