Skip to content

Commit

Permalink
fix: curl workflow dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipebros committed Dec 8, 2020
1 parent c91202b commit b94c65a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ run_ci_when_approved() {
-H "${AUTH_HEADER}" \
-H "${API_HEADER}" \
"${URI}/repos/${GITHUB_REPOSITORY}/actions/workflows/dockerimage.yml/dispatches" \
-d '{"ref":"refs/pull/'${ref}'/head"}'
-d '{"ref":"'${ref}'"}'
)
echo "resultado: ${resultado}"

Expand Down

0 comments on commit b94c65a

Please sign in to comment.