Skip to content

Commit

Permalink
#7 Add CI Support
Browse files Browse the repository at this point in the history
  • Loading branch information
xiezl committed Apr 18, 2020
1 parent a5f4783 commit 9da148c
Show file tree
Hide file tree
Showing 15 changed files with 66 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: node_js
node_js:
- 12.16.1
install:
- npm install
script:
- npm run build
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
keep_history: true
on:
branch: master
1 change: 1 addition & 0 deletions doc/css/app.8f696567.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions doc/css/dashboard.2a567c93.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added doc/favicon.ico
Binary file not shown.
Binary file added doc/fonts/element-icons.535877f5.woff
Binary file not shown.
Binary file added doc/fonts/element-icons.732389de.ttf
Binary file not shown.
1 change: 1 addition & 0 deletions doc/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/cool-website/favicon.ico><title>cool-squad</title><link href=/cool-website/css/dashboard.2a567c93.css rel=prefetch><link href=/cool-website/js/dashboard.c86e8565.js rel=prefetch><link href=/cool-website/css/app.8f696567.css rel=preload as=style><link href=/cool-website/js/app.ef36af62.js rel=preload as=script><link href=/cool-website/js/chunk-vendors.f2c26ead.js rel=preload as=script><link href=/cool-website/css/app.8f696567.css rel=stylesheet></head><body><noscript><strong>We're sorry but cool-squad doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/cool-website/js/chunk-vendors.f2c26ead.js></script><script src=/cool-website/js/app.ef36af62.js></script></body></html>
2 changes: 2 additions & 0 deletions doc/js/app.ef36af62.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions doc/js/app.ef36af62.js.map

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions doc/js/chunk-vendors.f2c26ead.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions doc/js/chunk-vendors.f2c26ead.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions doc/js/dashboard.c86e8565.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions doc/js/dashboard.c86e8565.js.map

Large diffs are not rendered by default.

Binary file added doc/media/557_ICDE_Xie.9b1c66b5.mp4
Binary file not shown.
6 changes: 4 additions & 2 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ function resolve(dir) {
}

module.exports = {
publicPath: './',
outputDir: 'dist',
// publicPath: './',
publicPath: process.env.NODE_ENV === 'production' ? '/cool-website' : './',
outputDir: process.env.NODE_ENV === 'production' ? 'doc' : 'dist',
// outputDir: 'dist',
devServer: {
open: true, // Automatically pop up the browser page
https: false, // Do not use https protocol
Expand Down

0 comments on commit 9da148c

Please sign in to comment.