File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -66,11 +66,17 @@ jobs:
6666 - name : Notify consumer repo of new balatrobot release
6767 if : ${{ steps.release.outputs.release_created }}
6868 env :
69- TARGET_REPO : " coder/balatrollm"
70- TARGET_TOKEN : ${{ secrets.TARGET_REPO_PAT }}
69+ BALATROLLM_REPO : " coder/balatrollm"
70+ BALATROLLM_TOKEN : ${{ secrets.BALATROLLM_TOKEN }}
71+ BALATRO_REPO : " S1M0N38/balatro"
72+ BALATRO_TOKEN : ${{ secrets.BALATRO_TOKEN }}
7173 run : |
7274 VERSION="${{ steps.release.outputs.version }}"
7375 curl -X POST -H "Accept: application/vnd.github+json" \
74- -H "Authorization: token $TARGET_TOKEN" \
75- https://api.github.com/repos/$TARGET_REPO/dispatches \
76+ -H "Authorization: token $BALATROLLM_TOKEN" \
77+ https://api.github.com/repos/$BALATROLLM_REPO/dispatches \
78+ -d "{\"event_type\":\"balatrobot_release\",\"client_payload\":{\"version\":\"$VERSION\"}}"
79+ curl -X POST -H "Accept: application/vnd.github+json" \
80+ -H "Authorization: token $BALATRO_TOKEN" \
81+ https://api.github.com/repos/$BALATRO_REPO/dispatches \
7682 -d "{\"event_type\":\"balatrobot_release\",\"client_payload\":{\"version\":\"$VERSION\"}}"
You can’t perform that action at this time.
0 commit comments