Skip to content

Commit

Permalink
fix(build): Prepare for new version.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeal committed Sep 19, 2017
1 parent d01442d commit e1a7e2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Expand Up @@ -5,10 +5,8 @@ node_js:
cache:
directories:
- node_modules

script:
- npm run test
- npm run build

after_success:
- ./scripts/deploy.sh
- ./scripts/deploy.sh
3 changes: 1 addition & 2 deletions scripts/deploy.sh
Expand Up @@ -16,7 +16,6 @@ if [ "$TRAVIS_BRANCH" != "master" -a "$TRAVIS_BRANCH" != "stable" ]; then
exit 1
fi

copy_assets_old () { cp -r vendor favicon.png index.html bundle.js worker.js $1; }
copy_assets () { cp -r favicon.png index.html bundle.js worker.js faq.html $1; }


Expand All @@ -37,7 +36,7 @@ STABLE_REV=$(git rev-parse --short HEAD)
rm -rf node_modules package-lock.json
npm install
npm run build
copy_assets_old ../build
copy_assets ../build

cd ../build
echo "rollcall.audio" > CNAME
Expand Down

0 comments on commit e1a7e2e

Please sign in to comment.