From: Stas'M Date: Mon, 1 Oct 2018 21:16:39 +0000 (+0300) Subject: AppVeyor: Update files on server X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=a618237782b4b00871951a10f153c4d43a48622f;p=DF-Res.git AppVeyor: Update files on server --- 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