-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
documentation for use with Travis CI #226
Comments
Any update on this one ? |
Forgot I logged this @mfrachet 🙃 We used a manual process in the end |
A couple of recommendations here 🙂 Instead of hard checking the branch, use the Travis deploy action: deploy:
provider: script
script: npm run deploy:travis
skip_cleanup: true
on:
branch: master If you are creating manual processes, check GH_TOKEN permissions in Travis, and use the form url of:
Specially in private repositories were Git is going to return a not found even on tokens with push permission. About the documentation, I don't know how much belongs here since the package just takes the output folder you want and force pushes to Anyways, hope this helped. |
Stale, closing |
Hi thanks for
gh-pages
we use it to deploy [our site] via our individual machines once we mergedevelopment
intomaster
I was hoping I could use
gh-pages
with Travis CI but I haven't managed to get anything running so far so I thought I ask:As I mentioned we use
gh-pages
via annpm
script with:Travis CI fails with an authentication error, so I created a GitHub token with the repo scope and added that to the Travis settings and then have the
.yml
script to call:The
.travis.yml
calls thedeploy:travis
script:Travis CI has the following:
Is there anything I'm missing here?
[our site] https://github.com/chingu-voyage3/grad.then/projects
The text was updated successfully, but these errors were encountered: