From 4cd54b82d68ab784955b801097111330e5fda0b0 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Thu, 23 Mar 2023 11:01:48 +0100 Subject: [PATCH] update --- .github/workflows/helper_stats_graphs.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/helper_stats_graphs.yaml b/.github/workflows/helper_stats_graphs.yaml index 37c5038ad..09955d44c 100644 --- a/.github/workflows/helper_stats_graphs.yaml +++ b/.github/workflows/helper_stats_graphs.yaml @@ -68,7 +68,7 @@ jobs: echo "... done" # Remove series with less than 4 points sed -i "/^[0-9|-]* [0-9*|-]* [0-9*|-]* -/d" Stats3 - # Plot graph + # Plot graph ( gnuplot-nox -persist <<-EOFMarker set title 'Top 10 addons' set ylabel 'Number of installations' @@ -142,7 +142,7 @@ jobs: }' StatsTmp > StatsTmp2 && mv StatsTmp2 StatsTmp #Normalize data #awk 'FNR==NR{max=($2+0>max)?$2:max;next} {print $1,$2/max}' StatsTmp StatsTmp - # Plot graph + # Plot graph ( gnuplot-nox -persist <<-EOFMarker set title "$TITLE" set ylabel 'Number of installations' @@ -226,11 +226,12 @@ jobs: echo "Starting run" # Get stars wget -S -O .github/stars.svg https://contrib.rocks/image?repo=alexbelgium/hassio-addons || true - # Get stars2 - wget -S -O .github/stars2.svg https://git-lister.onrender.com/api/stars/alexbelgium/hassio-addons?limit=30 || true + # Get stars2 + wget -S -O .github/stars2.svg https://git-lister.onrender.com/api/stars/alexbelgium/hassio-addons?limit=30 || \ + wget -S -O .github/stars2.svg https://git-lister.onrender.com/api/stars/alexbelgium/hassio-addons || \ + wget -S -O .github/stars2.svg https://git-lister.onrender.com/api/stars/alexbelgium/hassio-addons?limit=31 || true - name: Commit if needed uses: EndBug/add-and-commit@v9 with: message: "GitHub bot : graphs updated" default_author: github_actions -