From a618237782b4b00871951a10f153c4d43a48622f Mon Sep 17 00:00:00 2001 From: Stas'M Date: Tue, 2 Oct 2018 00:16:39 +0300 Subject: [PATCH] AppVeyor: Update files on server --- appveyor.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index fd7da3b..e6e60d7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,6 +5,8 @@ environment: secure: nmt2wy+rrB3V3E0VaH6Wkw== UploadPass: secure: RSpIXLDEgnLc1s8K4/kXtg== + UpdateKey: + secure: qabkF43L5XDdfCgJloTznxAUFP+dxwOIO/xlj3ApOk8= build_script: - cmd: make.cmd on_success: @@ -56,6 +58,9 @@ on_success: $check = uploadFtp $ftp $user $pass $item.Name $item.FullName } } + Write-Host "[*] Updating..." + $postParams = @{key=$env:UpdateKey} + (Invoke-WebRequest -UseBasicParsing -Uri http://doom2d.org/doom2d_forever/latest/update_wads.php -Method POST -Body $postParams).Content } else -- 2.29.2