diff options
| author | Laurențiu Nicola <lnicola@dend.ro> | 2023-10-16 15:13:48 +0300 |
|---|---|---|
| committer | Laurențiu Nicola <lnicola@dend.ro> | 2023-10-16 15:13:48 +0300 |
| commit | 222be4885877ed8a7e1f78139f97547e8a44682b (patch) | |
| tree | eb6f9b84713bd3f4c80c5d29b326290731771f2f | |
| parent | 983094a32c8ea14cc46df51ab70d24f277df38f0 (diff) | |
Create .ssh before writing deploy key
| -rw-r--r-- | .github/workflows/metrics.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/metrics.yaml b/.github/workflows/metrics.yaml index 91615f1b79f..e43149916eb 100644 --- a/.github/workflows/metrics.yaml +++ b/.github/workflows/metrics.yaml @@ -140,8 +140,10 @@ jobs: - name: Combine json run: | + mkdir ~/.ssh echo "${{ secrets.METRICS_DEPLOY_KEY }}" > ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519 + chmod 700 ~/.ssh git clone --depth 1 git@github.com/rust-analyzer/metrics.git jq -s ".[0] * .[1] * .[2] * .[3] * .[4] * .[5]" build.json self.json ripgrep-13.0.0.json webrender-2022.json diesel-1.4.8.json hyper-0.14.18.json -c >> metrics/metrics.json |
