Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c2b42b
commit 643b6e3
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
language: node_js | ||
node_js: | ||
- "7" | ||
install: | ||
- "yarn prep" | ||
script: | ||
- "yarn build" | ||
- "mkdir build" | ||
- "cp -r dist build/dist" | ||
- "cp -r saved_model_* build/" | ||
- "cp -r images build/images" | ||
- "cp index.html build/index.html" | ||
deploy: | ||
provider: pages | ||
skip_cleanup: true | ||
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard | ||
on: | ||
branch: master | ||
local_dir: "build" |