Skip to content

Commit

Permalink
Uncommented workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
MukuFlash03 committed Sep 29, 2024
1 parent cbb1241 commit bf0e19d
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/image_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit bf0e19d

Please sign in to comment.