fix payload
This commit is contained in:
parent
d906df3fec
commit
34421fdb76
1 changed files with 3 additions and 2 deletions
|
@ -28,9 +28,10 @@ jobs:
|
|||
steps:
|
||||
- name: Launch workflow
|
||||
run: |
|
||||
payload="{\"ref\": \"${GITHUB_REF_NAME}\", \"inputs\": { \"container_tag\": \"0.2.0-pre.13\" }}"
|
||||
curl -X "POST" \
|
||||
-H "accept: application/json" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: token ${GITHUB_TOKEN}" \
|
||||
-d '{"ref": "${GITHUB_REF_NAME}", "inputs": { "container_tag": "0.2.0-pre.13" }}' \
|
||||
"${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/actions/workflows/unlighthouse.yml/dispatches" -v --trace-ascii -
|
||||
-d "${payload}" \
|
||||
"${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/actions/workflows/unlighthouse.yml/dispatches" -v
|
Loading…
Reference in a new issue