Cannot deploy on X branch Heroku

Hi!
I’m traying to deploy on Heroku and get the next message:

Skipping a deployment with the heroku provider because this branch is not permitted: main

Here is my config file

language: node_js
cache:
  directories:
    - ~/.npm
node_js:
  - '12'
git:
  depth: 3
script:
  - yarn test
  - yarn build
deploy:
  provider: heroku
  api_key:
    secure: my-encrypted-api-key

I cheked the next option on Heroku:
image

I used this line to generate the api key:

travis encrypt $(heroku auth:token) --add deploy.api_key

My principal and unique branch on github is main.

URL of logs: https://travis-ci.org/github/Rowleen/platzi-proof/builds/736800188

Thanks in advance.

Hi, someone can help me?

Imprint