File tree Expand file tree Collapse file tree 6 files changed +23
-15
lines changed
Expand file tree Collapse file tree 6 files changed +23
-15
lines changed Original file line number Diff line number Diff line change @@ -5,4 +5,6 @@ database/
55devnote
66.env
77.rar
8- package-lock.json
8+ package-lock.json
9+ .travis /deploy_rsa.pub
10+ .travis /deploy_rsa
Original file line number Diff line number Diff line change 11language : node_js
2+ node :
3+ - 10.15.1
4+ nvm :
5+ - 6.9.0
26addons :
37 ssh_known_hosts :
48 - igather.sytes.net:1118
5- nvm :
6- - 6.9.0
7- node :
8- - 10.15.1
99before_install :
10- - openssl aes-256-cbc -K $encrypted_61557196f501_key -iv $encrypted_61557196f501_iv
11- -in id_rsa.enc -out ~\/.ssh/id_rsa -d
12- - " <openssl line generated by travis encrypt>"
13- - eval "$(ssh-agent -s)"
14- - cp .travis/id_rsa ~/.ssh/id_rsa
15- - chmod 600 ~/.ssh/id_rsa
16- - ssh-add ~/.ssh/id_rsa
10+ - openssl aes-256-cbc -K $encrypted_90b980805ab1_key -iv $encrypted_90b980805ab1_iv
11+ -in .travis/deploy_rsa.enc -out .travis/deploy_rsa -d
12+ - eval "$(ssh-agent -s)"
13+ - cp .travis/deploy_rsa ~/.ssh/id_rsa
14+ - chmod 600 ~/.ssh/id_rsa
15+ - ssh-add ~/.ssh/id_rsa
1716install :
18- - npm install
17+ - npm install
1918script :
20- - npm test
19+ - npm test
2120deploy :
2221 provider : script
2322 skip_cleanup : true
23+ script : " .travis/deploy.sh"
2424 app : connecc-api
2525 run : npm start
2626 on :
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ git config --global push.default simple # we only want to push one branch — master
3+ # specify the repo on the live server as a remote repo, and name it 'production'
4+ # <user> here is the separate user you created for deploying
5+ git remote add production ssh://brainware@igather.sytes.net:1118/home/brainware/projects/connecc-api
6+ git push production master # push our updates
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ Request body example:
123123``` json
124124{
125125 "name" : " Alpha" ,
126- "phoneNumber" : " +62-8-1993-101010 " ,
126+ "phoneNumber" : " +62-8-1234-56789 " ,
127127 "email" : " alpha@alphabet.com" ,
128128 "address" : " Alphabet Inc, USA"
129129}
You can’t perform that action at this time.
0 commit comments