Skip to content

Commit e6fe8ea

Browse files
committed
chore: Trying to fix deployment problem
1 parent 13812ce commit e6fe8ea

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ node_js:
44
- '6'
55
install:
66
- npm run install-everything
7-
- npm install -g pm2
87
before_install:
98
- openssl aes-256-cbc -K $encrypted_995f46ea43c0_key -iv $encrypted_995f46ea43c0_iv
109
-in deploy_rsa.enc -out deploy_rsa -d

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"bundle-configs": "node tools/bundle-configs",
1515
"check-updates": "ncu",
1616
"upgrade": "npm run check-updates -- --upgradeAll && npm install",
17-
"semantic-release": "semantic-release pre && npm run deploy && semantic-release post",
17+
"semantic-release": "semantic-release pre && semantic-release post && npm run deploy",
1818
"deploy": "pm2 deploy ecosystem.json production",
19-
"travis-deploy": "if-env TRAVIS_BRANCH=master TRAVIS_PULL_REQUEST=false && git stash && git status && ls . -a && npm run semantic-release || echo 'Deploy is not run'"
19+
"travis-deploy": "if-env TRAVIS_BRANCH=master TRAVIS_PULL_REQUEST=false && npm install -g pm2 && npm run semantic-release || echo 'Deploy is not run'"
2020
},
2121
"config": {
2222
"validate-commit-msg": {

0 commit comments

Comments
 (0)