From 35998314cc631ae8ec17a49a6f5fb8fc98d0886e Mon Sep 17 00:00:00 2001 From: Cal <35017184+CallumWalley@users.noreply.github.com> Date: Fri, 27 Sep 2024 15:27:46 +1200 Subject: [PATCH] Oops no payload --- .github/workflows/demo_deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/demo_deploy.yml b/.github/workflows/demo_deploy.yml index 670e6be..e30f101 100644 --- a/.github/workflows/demo_deploy.yml +++ b/.github/workflows/demo_deploy.yml @@ -26,7 +26,7 @@ jobs: -H "Authorization: Bearer ${{ secrets.PAT }}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/${TARGET_OWNER}/${TARGET_REPO}/dispatches \ - -d "{\"event_type\":\"deploy\",\"client_payload\":}" + -d "{\"event_type\":\"deploy\",\"client_payload\":{\"targets\":\"${GITHUB_REPOSITORY}:${HEAD}\", \"use-cache\":\"true\"}}" # This would be better if it worked # - name: Run 'deploy.yml' Workflow