From 5b6b1b0a58a550cb4daec1aa0d519a468c8ed7cd Mon Sep 17 00:00:00 2001 From: Jonatan Nilsson Date: Wed, 30 Mar 2022 09:08:03 +0000 Subject: [PATCH] appveyor: Add auto deploy to production --- appveyor.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index b7716f6..3991793 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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