Merge pull request #728 from kggp1995/master

- Fixed token type.
This commit is contained in:
Matt Ickstadt 2018-07-23 12:01:35 -05:00 committed by GitHub
commit 4d357b6779
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -34,12 +34,9 @@ script:
Following these instructions will result in your book being published to GitHub
pages after a successful CI run on your repository's `master` branch.
First, create a new GitHub oauth token with the "public_repo" permissions (or
"repo" for private repositories). Go to your repository's Travis CI settings
page and add an environment variable named `GITHUB_TOKEN` that is marked secure
and *not* shown in the logs.
First, create a new GitHub "Personal Access Token" with the "public_repo" permissions (or "repo" for private repositories). Go to your repository's Travis CI settings page and add an environment variable named `GITHUB_TOKEN` that is marked secure and *not* shown in the logs.
Then, add this snippet to your `.travis.yml`:
Then, append this snippet to your `.travis.yml` and update the path to the `book` directory:
```yaml
deploy: