Configured Travis CI to deploy to GitHub Pages
parent
a37d2a24cf
commit
b9766a5041
|
@ -1,8 +1,6 @@
|
|||
node_modules
|
||||
npm-debug.log
|
||||
build/dev
|
||||
build/test
|
||||
build/node
|
||||
build
|
||||
docs/*
|
||||
!docs/*.conf.json
|
||||
!docs/*.ico
|
||||
|
|
|
@ -11,4 +11,10 @@ script:
|
|||
- grunt node
|
||||
- grunt prod
|
||||
deploy:
|
||||
provider: pages
|
||||
skip_cleanup: true
|
||||
github_token: $GITHUB_TOKEN
|
||||
on:
|
||||
branch: master
|
||||
local_dir: "build/prod/"
|
||||
target_branch: gh-pages
|
||||
|
|
Loading…
Reference in New Issue