File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -52,10 +52,24 @@ jobs:
5252 if : github.event_name == 'workflow_dispatch'
5353 shell : bash
5454 run : |
55+ json_payload='
56+ {
57+ "event_type": "journey-release",
58+ "client_payload": {
59+ "repository": "${{ github.repository }}",
60+ "packages": [
61+ "@bb/package1@1.0.0",
62+ "@bb/package2@1.0.0",
63+ "@bb/package3@1.0.0"
64+ ]
65+ }
66+ }
67+ '
68+
5569 curl -L \
5670 -X POST \
5771 -H "Accept: application/vnd.github+json" \
5872 -H "Authorization: Bearer ${{ secrets.APPS_DISPATCH_PAT }}" \
5973 -H "X-GitHub-Api-Version: 2022-11-28" \
6074 https://api.github.com/repos/TomaszKasowicz/release-toil-app/dispatches \
61- -d '{"event_type":"journey-release","client_payload":{"unit":false,"integration":true}} '
75+ -d '$json_payload '
You can’t perform that action at this time.
0 commit comments