Configured Travis CI to deploy to GitHub Pages

This commit is contained in:
n1474335 committed 2017-03-30 20:17:40 +01:00
1 parent a37d2a24cf
commit b9766a5041
3 files changed
+8 -4

No files matched your search

+1 -3
View File
@@ -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
+6
View File
@@ -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
+1 -1
View File
@@ -61,7 +61,7 @@ const URL_ = {
if (!document) { if (!document) {
throw "This operation only works in a browser."; throw "This operation only works in a browser.";
} }
var a = document.createElement("a"); var a = document.createElement("a");
// Overwrite base href which will be the current CyberChef URL to reduce confusion. // Overwrite base href which will be the current CyberChef URL to reduce confusion.