Yep - you have run into The Curse Of Yaml, which is an indentation problem. Copy your YAML into this parser to see the issue. Your two jobs build
and deploy
are keys that should be at the same level, but deploy
has become a sub-key of the build
object.
Un-indent the deploy
section, double-check it with the parser, then commit and push - that should sort it out.