diff --git a/appveyor.yml b/appveyor.yml index 10be3a859..366825ed5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,7 +3,11 @@ configuration: Release os: Visual Studio 2017 environment: nodejs_version: "7.8.0" + appveyor_rdp_password: Password1! + # Install scripts. (runs after repo cloning) +init: + - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) install: # Get the latest stable version of Node.js or io.js - ps: Install-Product node $env:nodejs_version @@ -88,3 +92,6 @@ deploy: draft: true on: branch: master + +on_finish: + - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))