Skip to content

Commit 03f676e

Browse files
committed
Auto merge of rust-lang#15769 - lnicola:metrics-ssh, r=lnicola
internal: Create `~/.ssh` before writing deploy key
2 parents 983094a + 222be48 commit 03f676e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/metrics.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,10 @@ jobs:
140140

141141
- name: Combine json
142142
run: |
143+
mkdir ~/.ssh
143144
echo "${{ secrets.METRICS_DEPLOY_KEY }}" > ~/.ssh/id_ed25519
144145
chmod 600 ~/.ssh/id_ed25519
146+
chmod 700 ~/.ssh
145147
146148
git clone --depth 1 git@github.com/rust-analyzer/metrics.git
147149
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

0 commit comments

Comments
 (0)