title: Multiline YAML string for GitLab CI (.gitlab-ci.yml)
body: <p>I'm trying to write a <code>gitlab-ci.yml</code> file which uses a multi-line string for the command. However, it seems like it is not being parsed. I've tried both the <code>- |</code> and <code>- &gt;</code> with identical results.</p>
  
  <pre><code>stages:
    - mystage
  
  Build:
    stage: mystage
    script:
      - |
          echo -e "
              echo 'hi';
              echo 'bye';
          "
  </code></pre>
  
  <p>When it tries to run, it only shows <code>echo -e '</code> as the script to run, and not the whole multiline string. This causes issues for me.</p>
  
  <p>What would be the correct syntax to write something like this?</p>