Access webhook deployment data in deploy hook?

Is it possible to send data via webhook deployment and access it in a deploy hook?

curl -X POST -d "FOO=bar" https://hooks.cloud66.com/stacks/redeploy/xxxxxx

then in .clould66/deploy_hooks.yml

after_checkout:
- command: echo $FOO

Thanks

By the way the markdown previewer seems to be buggy, only renders the first code snippet correctly

Hi,

I’m afraid, this is not currently supported! May I ask what the use case is?

On CI we could precompile our assets and save as artifacts, we could post ASSET_URL in the curl command and the after_checkout could download those artifacts from the CI server.

You must be logged in to answer this question