Skip to content

Commit

Permalink
fix: cd to dist before pushing to npm repo
Browse files Browse the repository at this point in the history
  • Loading branch information
theoomoregbee committed Oct 15, 2018
1 parent 7eb8ecf commit 4d48671
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ node_js:
- '8'
- '6'
after_success:
- npm run travis-deploy-once "npm run semantic-release"
- npm run packager
- cd dist/alert && npm run travis-deploy-once "npm run semantic-release"
branches:
except:
- /^v\d+\.\d+\.\d+$/
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"copy:img": "cp -r ./img/ dist/alert/img",
"packager": "npm run build:lib && npm run build-css && npm run copy:readme && npm run copy:img",
"deploy": "ng build --prod --base-href='/ngAlert/' && cp ./dist/index.html ./dist/404.html && ./node_modules/.bin/angular-cli-ghpages",
"prepublishOnly": "npm run packager && cd dist/alert",
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once"
},
Expand Down

0 comments on commit 4d48671

Please sign in to comment.