Skip to content

Commit

Permalink
test: deploy to github pages after build
Browse files Browse the repository at this point in the history
  • Loading branch information
plantain-00 committed Apr 16, 2018
1 parent 55c5dfa commit 2c0e902
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 76 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,11 @@ addons:
packages:
- g++-4.8
- libnss3

deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
keep-history: true
on:
branch: master
5 changes: 2 additions & 3 deletions clean-scripts.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { Service, checkGitStatus, executeScriptAsync } = require('clean-scripts')
const { Service, executeScriptAsync } = require('clean-scripts')
const { watch } = require('watch-then-execute')

const tsFiles = `"src/**/*.ts" "spec/**/*.ts" "screenshots/**/*.ts" "prerender/**/*.ts" "online/**/*.ts"`
Expand Down Expand Up @@ -47,8 +47,7 @@ module.exports = {
},
test: [
'tsc -p spec',
'jasmine',
() => checkGitStatus()
'jasmine'
],
fix: {
ts: `tslint --fix ${tsFiles}`,
Expand Down
6 changes: 0 additions & 6 deletions online/file-size.json

This file was deleted.

1 change: 0 additions & 1 deletion online/index.bundle-a82b5ad0a3995b4952959269a74c5ffb.js

This file was deleted.

17 changes: 0 additions & 17 deletions online/index.html

This file was deleted.

49 changes: 0 additions & 49 deletions online/vendor.bundle-1b82688d4f1d8f74a7e639e4d7d93bb6.js

This file was deleted.

0 comments on commit 2c0e902

Please sign in to comment.