- Fix token type

OAuth token type doesn't work. Have to change it to PAT.
This commit is contained in:
Ganesh Prasad Kumble 2018-07-21 19:23:47 +05:30 committed by GitHub
parent bb8b43d396
commit 21c24c2815
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: