0

This throws an error, any yaml experts can see why?

All my spaces and indentations seem to be correct:

trigger:​
  - develop

pool:
  vmImage: ubuntu-latest​
​
steps:​
  - checkout: self
    submodules: true

  - task: AzureStaticWebApp@0​
    inputs:​
      app_location: "/" ​
      api_location: "api​"
      output_location: ""
    env:​
      azure_static_web_apps_api_token: $(deployment_token)
Timo
  • 3
  • 3

1 Answers1

2

Most of your lines have the unicode character U+200B (zero width space) at the end of the line. Remove these characters, YAML doesn't recognize them as separation spaces, which is why parsing fails.

flyx
  • 35,506
  • 7
  • 89
  • 126