I recently found out travis ci, but I’m having some problems as a newbie.
I have a personal github page (username.github.io), which is a public repo. Github requires personal pages to be published from the master branch.
Since I’m using Angular, I’d like to have a source code available, so I have made a new default branch called
My idea was; travis grabs src from
angular-src branch, builds it and then deploys it to
master branch, so as to allow it to be published.
The github_token value is indeed allowed for angular-src.
Build works just fine, but when deploying, I get the error
Skipping a deployment with the pages provider because this branch is not permitted: angular-src
I’ve also added
branch-protection-rule with flag
Allow force pushes: true for master.
This is the build URL: https://travis-ci.org/github/samolego/samolego.github.io/jobs/676120027
My travis.yml can be seen at https://github.com/samolego/samolego.github.io/blob/angular-src/.travis.yml
What can I do to grant the permission?
Thanks in advance.