Not able to deploy dev to stage branch in Gitlab

,

I am trying to get the dev branch to be sent to stage using .gitlab-ci.yml and using a script I will post below. And in a result, I am getting an error and pipelines are getting failed. Kindly guide me on how could I resolve this error.

Error: This GitLab CI configuration is invalid: jobs config should contain at least one visible job

stages:
  • dev
    #Develop stage
    develop:
    stage: dev
    before_script:
    #generate ssh key
    • mkdir -p ~/.ssh
    • echo -e “$SSH_PRIVATE_KEY” > ~/.ssh/id_rsa
    • chmod 600 ~/.ssh/id_rsa
    • ‘[[ -f /.dockerenv ]] && echo -e “Host *\n\tStrictHostKeyChecking no\n\n” > ~/.ssh/config’
      script:
    • bash .gitlab-stage.sh
      environment:
      name: dev
      url: https://X#############/ # URL or domain name of the server