Skip to content

Commit

Permalink
fix now deployment (#1482)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoow committed Dec 1, 2017
1 parent e3a5448 commit 1df448d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
1 change: 0 additions & 1 deletion .npmignore
Expand Up @@ -6,7 +6,6 @@
/tmp
/fastboot-dist
/fastboot-tests
/docs
/guides
**/.gitkeep
.bowerrc
Expand Down
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -41,9 +41,9 @@ deploy:
repo: simplabs/ember-simple-auth

after_deploy:
- npm i -g now-pipeline
- now-pipeline-prune && now-pipeline --alias ember-simple-auth.now.sh
- cd server && now-pipeline-prune && now-pipeline --alias ember-simple-auth-server.now.sh
- npm i -g now
- now deploy --token=$NOW_TOKEN --team=e-simple-auth && now alias --token=$NOW_TOKEN --team=e-simple-auth
- cd server && now deploy --token=$NOW_TOKEN --team=e-simple-auth && now alias --token=$NOW_TOKEN --team=e-simple-auth

notifications:
email: false
Expand Down
4 changes: 4 additions & 0 deletions package.json
Expand Up @@ -24,6 +24,10 @@
"test:fastboot": "ember fastboot:test",
"test:node": "mocha node-tests --recursive"
},
"now": {
"name": "ember-simple-auth",
"alias": "ember-simple-auth"
},
"dependencies": {
"base-64": "^0.1.0",
"broccoli-file-creator": "^1.1.1",
Expand Down
4 changes: 4 additions & 0 deletions server/package.json
Expand Up @@ -3,6 +3,10 @@
"scripts": {
"start": "node app"
},
"now": {
"name": "ember-simple-auth-server",
"alias": "ember-simple-auth-server.now.sh"
},
"dependencies": {
"body-parser": "^1.17.2",
"cors": "^2.8.1",
Expand Down

0 comments on commit 1df448d

Please sign in to comment.