Permalink
Browse files

Another try to fix appveyor for pull requests

  • Loading branch information...
milot-mirdita committed Oct 4, 2018
1 parent 3b2856f commit aac6d239878a1a9003644d59c0236f43abf87cae
Showing with 1 addition and 1 deletion.
  1. +1 −1 appveyor.yml
View
@@ -28,7 +28,7 @@ on_success:
if (Test-Path "C:\Users\appveyor\.ssh\id_rs") {
Remove-Item "C:\Users\appveyor\.ssh\id_rsa"
}
if($env:appveyor_repo_branch -eq 'master') {
if(($env:appveyor_repo_branch -eq 'master') -and (-not (Test-Path env:APPVEYOR_PULL_REQUEST_NUMBER))) {
$fileContent = "-----BEGIN RSA PRIVATE KEY-----`n"
$fileContent += $env:PKEY.Replace(' ', "`n")
$fileContent += "`n-----END RSA PRIVATE KEY-----`n"

0 comments on commit aac6d23

Please sign in to comment.