Skip to content
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

Create a GitHub Personal Access Token and add it to Travis repository settings as GITHUB_TOKEN #2

Closed
phrohdoh opened this issue May 7, 2019 · 3 comments
Assignees

Comments

@phrohdoh
Copy link
Member

phrohdoh commented May 7, 2019

Related Tickets

#1 - Publish book to GitHub Pages via Travis CI

Description / How

Create a Personal Access Token for the orabot GitHub account with the public_repo scope.

Then follow these instructions to add it to the OpenRA/book repo settings on https://travis-ci.org.

Why

This is required by the deploy step of Travis CI to create / push to the specified branch (gh-pages in our case).

Who

@pchote, because they have access to the orabot GitHub account and the OpenRA account on https://travis-ci.org

@phrohdoh
Copy link
Member Author

phrohdoh commented May 7, 2019

I'm going to push the .travis.yml file to configure Travis CI to build and publish the book, but all jobs will fail until the GITHUB_TOKEN env var is set in Travis.

@pchote
Copy link
Member

pchote commented May 14, 2019

Done, but needs to be tested.

@phrohdoh
Copy link
Member Author

It appears to have worked!

http://www.openra.net/book/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants