diff options
author | 2019-10-26 13:03:07 +0700 | |
---|---|---|
committer | 2019-10-26 13:03:07 +0700 | |
commit | e30189ae97cbb297e628cf3b2c491bf25c99a200 (patch) | |
tree | f4e52505a0eda13f5cad3ed908c36f9551a1831e | |
parent | Revert "Use HTTPS instead of SSL for git submodules" (diff) | |
download | ferdium-app-e30189ae97cbb297e628cf3b2c491bf25c99a200.tar.gz ferdium-app-e30189ae97cbb297e628cf3b2c491bf25c99a200.tar.zst ferdium-app-e30189ae97cbb297e628cf3b2c491bf25c99a200.zip |
Use service account ssh key for submodules checkout
-rw-r--r-- | appveyor.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml index 1034565ed..5d2e0c6bd 100644 --- a/appveyor.yml +++ b/appveyor.yml | |||
@@ -4,6 +4,10 @@ environment: | |||
4 | version: 5.0.1.{build} | 4 | version: 5.0.1.{build} |
5 | 5 | ||
6 | install: | 6 | install: |
7 | - ps: $fileContent = "-----BEGIN RSA PRIVATE KEY-----`n" | ||
8 | - ps: $fileContent += $env:priv_key.Replace(' ', "`n") | ||
9 | - ps: $fileContent += "`n-----END RSA PRIVATE KEY-----`n" | ||
10 | - ps: Set-Content $env:userprofile\.ssh\id_rsa $fileContent | ||
7 | - git submodule update --init --recursive | 11 | - git submodule update --init --recursive |
8 | - ps: Install-Product node 10 | 12 | - ps: Install-Product node 10 |
9 | - npx lerna bootstrap | 13 | - npx lerna bootstrap |