Command execution with Multi-line YAML is quite popular and it’s supported by major build tools like Github actions and Gitlab. And All the LLM’s hallucinate that render does support it, and developers are wasting time ( saw first hand) in debugging that. Following is an example of multi-line YAML
services:
- type: web
name: my-app
buildCommand: |
npm ci --include=dev
npm run build
echo "Build completed"
My Question is: Is there a support for multi-line YAML commands? I know that there are workarounds with a unreadable buildCommand
with ;
separation, or use a wrapper shell script. Both of these workarounds are subpar, and undesirable.