co-code-build component subscribes CO_CODE_CHANGED output and determine whether to re-build the source code, if true, outputs CO_URL
co-code-redeploy component subscribes CO_CODE_CHANGED and CO_URL, if the code is changed and the newly built binary's URL is provided, then redeploy the target project.
Add the subscriptions / outputs in cohook flow:
CO_CODE_CHANGED
CO_CODE_CHANGED
output and determine whether to re-build the source code, if true, outputsCO_URL
CO_CODE_CHANGED
andCO_URL
, if the code is changed and the newly built binary's URL is provided, then redeploy the target project.