Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonEverling committed Feb 12, 2024
1 parent f20a324 commit 95191cb
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,13 @@ jobs:
docker push bshp/ocie:${{env.BETA_CHANNEL}}
- name: Dispatch Events
run: |
inheritees="apache2,ezproxy,mantis,unifi";
inheritees="apache2,ezproxy,itsm,mantis,unifi";
for inheritee in ${inheritees//,/ };do
echo "Sending event to [ bshp/${inheritee} ]";
data="main";
if [[ "${inheritee}" == "apache2" ]];then
data="master";
fi;
curl -L -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: ${{secrets.WF_TOKEN}}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/bshp/${inheritee}/actions/workflows/build.yml/dispatches \
-d "{\"ref\": \"${data}\"}"
-d '{"ref":"main"}'
done;

0 comments on commit 95191cb

Please sign in to comment.