-
-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected token ' in JSON at position 0 | Multiline client_payload #157
Comments
Hi @justmike1 This site might help you: You probably want client-payload: >-
'{"ref": "${{ github.ref }}",
"image_tag": "${{ needs.affected-services.outputs.project_version }}",
"services": "${{ needs.affected-services.outputs.matrix }}"}' Or it might be complaining about the quotes. Try removing them. client-payload: >-
{"ref": "${{ github.ref }}",
"image_tag": "${{ needs.affected-services.outputs.project_version }}",
"services": "${{ needs.affected-services.outputs.matrix }}"} |
The following works well for me:
|
cool, thanks! |
Could we add a multiline example to the docs? It took a while to find this... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So I am trying to implement a multiline client_payload, my configuration:
I get fails of
Unexpected token ' in JSON at position 0
The text was updated successfully, but these errors were encountered: