appveyor: Add auto deploy to production
continuous-integration/appveyor/branch AppVeyor build succeeded Details

master
Jonatan Nilsson 2022-03-30 09:08:03 +00:00
parent fa38c2928b
commit 5b6b1b0a58
1 changed files with 3 additions and 0 deletions

View File

@ -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