Compare commits
4 commits
Author | SHA1 | Date | |
---|---|---|---|
8f3faed11f | |||
95e94b38cc | |||
562ade9763 | |||
5b6b1b0a58 |
3 changed files with 5 additions and 2 deletions
|
@ -14,7 +14,7 @@ export function run(http, orgPort, ctx) {
|
|||
finishedRequest = true
|
||||
var requestTime = new Date().getTime() - d1
|
||||
|
||||
let level = 'debug'
|
||||
let level = 'info'
|
||||
if (res.statusCode >= 400) {
|
||||
level = 'warn'
|
||||
}
|
||||
|
|
|
@ -60,6 +60,9 @@ on_success:
|
|||
-H "Authorization: token $deploytoken" \
|
||||
-F "attachment=@${CURR_VER}_build-sc.7z" \
|
||||
https://git.nfp.is/api/v1/repos/$APPVEYOR_REPO_NAME/releases/$RELEASE_ID/assets
|
||||
|
||||
echo "Deplying to production"
|
||||
curl -X POST http://192.168.93.51:8881/update/helloworld
|
||||
fi
|
||||
|
||||
# on build failure
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "sc-helloworld",
|
||||
"version": "2.0.4",
|
||||
"version": "2.0.6",
|
||||
"description": "Hello World app for service core",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in a new issue