appveyor: Add auto deploy to production
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
This commit is contained in:
parent
fa38c2928b
commit
5b6b1b0a58
1 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,9 @@ on_success:
|
||||||
-H "Authorization: token $deploytoken" \
|
-H "Authorization: token $deploytoken" \
|
||||||
-F "attachment=@${CURR_VER}_build-sc.7z" \
|
-F "attachment=@${CURR_VER}_build-sc.7z" \
|
||||||
https://git.nfp.is/api/v1/repos/$APPVEYOR_REPO_NAME/releases/$RELEASE_ID/assets
|
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
|
fi
|
||||||
|
|
||||||
# on build failure
|
# on build failure
|
||||||
|
|
Loading…
Reference in a new issue