"Skipping a deployment with the pages provider because this branch is not permitted"


I think it might be something with on.branch, but I’m not quite sure.

This is explained in https://docs.travis-ci.com/user/deployment/#conditional-releases-with-on. In particular:

  • branch : name of the branch. If omitted, this defaults to the app -specific branch, or master . If the branch name is not known ahead of time, you can specify all_branches: true instead of branch: and use other conditions to control your deployment.

Since you do not specify on.branch, only the master branch is permitted to run deployments. This build is on release, so it’s not permitted to run deployments.

1 Like