Configured Travis CI to deploy to GitHub Pages
This commit is contained in:
1 parent
a37d2a24cf
commit
b9766a5041
2 files changed
+7
-3
No files matched your search
+1
-3
@@ -1,8 +1,6 @@
|
|||||||
node_modules
|
node_modules
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
build/dev
|
build
|
||||||
build/test
|
|
||||||
build/node
|
|
||||||
docs/*
|
docs/*
|
||||||
!docs/*.conf.json
|
!docs/*.conf.json
|
||||||
!docs/*.ico
|
!docs/*.ico
|
||||||
|
|||||||
@@ -11,4 +11,10 @@ script:
|
|||||||
- grunt node
|
- grunt node
|
||||||
- grunt prod
|
- grunt prod
|
||||||
deploy:
|
deploy:
|
||||||
|
provider: pages
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
|
github_token: $GITHUB_TOKEN
|
||||||
|
on:
|
||||||
|
branch: master
|
||||||
|
local_dir: "build/prod/"
|
||||||
|
target_branch: gh-pages
|
||||||
Reference in new issue
Block a user