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

**URL:** https://travis-ci.community/t/skipping-a-deployment-with-the-pages-provider-because-this-branch-is-not-permitted/4493
**Category:** Deployment
**Created:** [August 1, 2019, 1:27pm UTC](https://travis-ci.community/t/skipping-a-deployment-with-the-pages-provider-because-this-branch-is-not-permitted/4493 "2019-08-01T13:27:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![coolreader18](https://avatars.discourse-cdn.com/v4/letter/c/85f322/32.png) [@coolreader18](https://travis-ci.community/u/coolreader18)
#### Post date: [August 1, 2019, 1:27pm UTC](https://travis-ci.community/t/skipping-a-deployment-with-the-pages-provider-because-this-branch-is-not-permitted/4493/1 "2019-08-01T13:27:36Z")

</div>

[https://travis-ci.org/RustPython/RustPython/jobs/564569924](https://travis-ci.org/RustPython/RustPython/jobs/564569924)

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

---

<div class="post-metadata">

### Author: ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)
#### Post date: [August 1, 2019, 2:25pm UTC](https://travis-ci.community/t/skipping-a-deployment-with-the-pages-provider-because-this-branch-is-not-permitted/4493/2 "2019-08-01T14:25:50Z")

</div>

This is explained in [Deployment - Travis CI](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.
