I have a project that builds a json file from a csv. Instead of storing both files, I wanted to store only the csv, and have travis build the json file and deploy it on github pages.
I had no branch protection rules in my repo. BUT I tried adding a rule for gh-pages with the “allow force pushes” option checked, and that allowed travis to successfully push. I didn’t realize branch protection can actually increase permissiveness . Thanks so much for your help!