Skip to content

Commit

Permalink
Add auto deploy for the master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
alik0211 committed Dec 6, 2018
1 parent 49a4011 commit e046b0a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Expand Up @@ -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
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -3,6 +3,7 @@
"version": "2.0.0",
"private": true,
"author": "Ali Gasymov <alik0211alik@gmail.com> (https://alik0211.com/)",
"homepage": "https://alik0211.github.io/pokedex/",
"dependencies": {
"react": "^16.3.2",
"react-dom": "^16.3.2",
Expand Down

0 comments on commit e046b0a

Please sign in to comment.