From 21c24c28150d75f5641fc0028a112970617468b4 Mon Sep 17 00:00:00 2001 From: Ganesh Prasad Kumble Date: Sat, 21 Jul 2018 19:23:47 +0530 Subject: [PATCH] - Fix token type OAuth token type doesn't work. Have to change it to PAT. --- book-example/src/continuous-integration.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/book-example/src/continuous-integration.md b/book-example/src/continuous-integration.md index ac5c39c7..654eb1dc 100644 --- a/book-example/src/continuous-integration.md +++ b/book-example/src/continuous-integration.md @@ -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: