Skip to content

Commit af35b69

Browse files
committed
Fix command
1 parent f89fc5f commit af35b69

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.appveyor.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ install:
5656
- cd c:\projects\wmi-scripting
5757

5858
- IF "%DEPLOY_DOCS%" == "true" (
59-
powershell -command "
60-
$fileContent = '-----BEGIN RSA PRIVATE KEY-----`n'
61-
$fileContent += $env:priv_key.Replace(' ', '`n')
62-
$fileContent += '`n-----END RSA PRIVATE KEY-----`n'
63-
Set-Content $env:userprofile\.ssh\id_rsa $fileContent" &&
59+
powershell -command "&{
60+
$fileContent = '-----BEGIN RSA PRIVATE KEY-----`n';
61+
$fileContent += $env:priv_key.Replace(' ', '`n');
62+
$fileContent += '`n-----END RSA PRIVATE KEY-----`n';
63+
Set-Content $env:userprofile\.ssh\id_rsa $fileContent }" &&
6464
git submodule update --init --recursive &&
6565
git config --global user.email "%GIT_EMAIL%" &&
6666
git config --global user.name "%GIT_EMAIL%" &&

0 commit comments

Comments
 (0)