diff options
| author | bors <bors@rust-lang.org> | 2023-10-15 16:02:36 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-15 16:02:36 +0000 |
| commit | a8581aa0ffad40d7db105b1ce8a40a015c5d28f4 (patch) | |
| tree | 0fafafba812f0a3f2dbab500ad55cde8fe229f86 | |
| parent | 65532e417d6554e895b07361382078384ffc93d6 (diff) | |
| parent | d33fd15ecfe385b8fdd787c813074f9aa451ef37 (diff) | |
| download | rust-a8581aa0ffad40d7db105b1ce8a40a015c5d28f4.tar.gz rust-a8581aa0ffad40d7db105b1ce8a40a015c5d28f4.zip | |
Auto merge of #15762 - Veykril:metrics-deploy, r=Veykril
fix: Fix metrics workflow to use deploy key I think this should be correct
| -rw-r--r-- | .github/workflows/metrics.yaml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/metrics.yaml b/.github/workflows/metrics.yaml index bbeccd1621d..91615f1b79f 100644 --- a/.github/workflows/metrics.yaml +++ b/.github/workflows/metrics.yaml @@ -140,11 +140,12 @@ jobs: - name: Combine json run: | - git clone --depth 1 https://$METRICS_TOKEN@github.com/rust-analyzer/metrics.git + echo "${{ secrets.METRICS_DEPLOY_KEY }}" > ~/.ssh/id_ed25519 + chmod 600 ~/.ssh/id_ed25519 + + 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 cd metrics git add . git -c user.name=Bot -c user.email=dummy@example.com commit --message 📈 git push origin master - env: - METRICS_TOKEN: ${{ secrets.METRICS_TOKEN }} |
