diff options
| author | Raghul Nanth A <61490162+NanthR@users.noreply.github.com> | 2023-06-24 22:33:33 +0530 |
|---|---|---|
| committer | Raghul Nanth A <61490162+NanthR@users.noreply.github.com> | 2023-06-24 22:33:33 +0530 |
| commit | 68e64025fd0bc455af78d46e83952427499f3a28 (patch) | |
| tree | e8d433b75eacbb960dfb105abe8037240d697ec6 | |
| parent | 5d77839b25963ce9bb06d8e1de760106477e6fe1 (diff) | |
| download | rust-68e64025fd0bc455af78d46e83952427499f3a28.tar.gz rust-68e64025fd0bc455af78d46e83952427499f3a28.zip | |
fix(name): Push to rust-analyzer metrics repo
| -rw-r--r-- | .github/workflows/metrics.yaml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/metrics.yaml b/.github/workflows/metrics.yaml index 233af42f42c..ca50980981e 100644 --- a/.github/workflows/metrics.yaml +++ b/.github/workflows/metrics.yaml @@ -235,10 +235,11 @@ jobs: - name: Combine json run: | - git clone --depth 1 https://$METRICS_TOKEN@github.com/nanthR/metrics.git + git clone --depth 1 https://$METRICS_TOKEN@github.com/rust-analyzer/metrics.git jq -s ".[0] * .[1] * .[2] * .[3] * .[4]" build.json self.json ripgrep.json webrender.json diesel.json -c >> metrics/metrics.json - git -C metrics add . - git -C metrics -c user.name=Bot -c user.email=dummy@example.com commit --message 📈 - git -C metrics push origin master + cd metrics + git add . + git -c user.name=Bot -c user.email=dummy@example.com commit --message 📈 + git push origin new env: METRICS_TOKEN: ${{ secrets.METRICS_TOKEN }} |
