From b5238519f72c17079ad94e07602a2b5104f73f1b Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 22 Mar 2019 10:18:43 -0400 Subject: [PATCH] debug ssh --- appveyor.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 903bf3dd..7f30ba82 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,6 +7,13 @@ branches: stack: node 10, ruby 2.6.0 +init: +- sh: | + if [ "${DEBUG_SSH}" == "true" ] + then + curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e - + fi + install: - gem install jekyll bundler @@ -22,3 +29,11 @@ build_script: - sh: | ./node_modules/.bin/gh-pages --dotfiles --dist _site --silent \ --repo "https://${GH_TOKEN}@github.com/bitwarden/help.git" + +on_finish: +- sh: | + if [ "${DEBUG_SSH}" == "true" ] + then + export APPVEYOR_SSH_BLOCK=true + curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e - + fi