# Pushing to different repo for github pages fails on push

**URL:** https://travis-ci.community/t/pushing-to-different-repo-for-github-pages-fails-on-push/2849
**Category:** Deployment
**Tags:** deployment, gh-pages
**Created:** [March 30, 2019, 1:52pm UTC](https://travis-ci.community/t/pushing-to-different-repo-for-github-pages-fails-on-push/2849 "2019-03-30T13:52:53Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ArSn](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/arsn/32/1477_2.png) [@ArSn](https://travis-ci.community/u/ArSn)
#### Post date: [March 30, 2019, 1:52pm UTC](https://travis-ci.community/t/pushing-to-different-repo-for-github-pages-fails-on-push/2849/1 "2019-03-30T13:52:53Z")

</div>

I’d think I configured everything correctly, but still I can not get travis to push to my docs repo for the generated docs, here is the build: [https://travis-ci.org/ArSn/jay-gee-eff-for-web/builds/513454883](https://travis-ci.org/ArSn/jay-gee-eff-for-web/builds/513454883)

What I did do so far:

1. Double check the personal access token - I even regenerated it
2. Switched between email/name and committer\_from\_gh configs, which did not seem to have any effect
3. Enabled the verbose output, but it did not get very much more verbose about the failed push

I noticed that it says  
Installing deploy dependencies  
invalid options: -SHN  
(invalid options are ignored)

earlier, but since I am not passing any single character options here I am not sure what I am doing wrong, I went along these docs: [https://docs.travis-ci.com/user/deployment/pages/#further-configuration](https://docs.travis-ci.com/user/deployment/pages/#further-configuration)

---

<div class="post-metadata">

### Author: ![ArSn](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/arsn/32/1477_2.png) [@ArSn](https://travis-ci.community/u/ArSn)
#### Post date: [April 12, 2019, 9:33pm UTC](https://travis-ci.community/t/pushing-to-different-repo-for-github-pages-fails-on-push/2849/2 "2019-04-12T21:33:23Z")

</div>

As it turns out I just did not notice I should include the username in the repo slug, therefore I created this PR to extend the docs: [https://github.com/travis-ci/docs-travis-ci-com/pull/2331](https://github.com/travis-ci/docs-travis-ci-com/pull/2331)
