From e046b0a173a47a6d39c9c5c1490d7c57dd770bd1 Mon Sep 17 00:00:00 2001 From: Ali Gasymov Date: Thu, 6 Dec 2018 09:13:12 +0400 Subject: [PATCH] Add auto deploy for the master branch --- .travis.yml | 8 ++++++++ package.json | 1 + 2 files changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index 9a0f846..71bf475 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,3 +5,11 @@ node_js: cache: npm script: "npm run build" + +deploy: + provider: pages + local-dir: build + skip-cleanup: true + github-token: $GITHUB_TOKEN + on: + branch: master diff --git a/package.json b/package.json index 151a7ac..fcadb66 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "2.0.0", "private": true, "author": "Ali Gasymov (https://alik0211.com/)", + "homepage": "https://alik0211.github.io/pokedex/", "dependencies": { "react": "^16.3.2", "react-dom": "^16.3.2",