From b56ddb2d7b786518732e5153943215676d4b4833 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 1 Dec 2022 23:09:45 +0100 Subject: [PATCH] Update daily_README.yaml --- .github/workflows/daily_README.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/daily_README.yaml b/.github/workflows/daily_README.yaml index e04a82c56..fc02208ac 100644 --- a/.github/workflows/daily_README.yaml +++ b/.github/workflows/daily_README.yaml @@ -82,10 +82,9 @@ jobs: ICON="" fi -#ARCH=amd64 -#SLUG=epicgamesfree -#DOWNLOADS="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')" -#echo "$DOWNLOADS" +#ARCH=amd64 && SLUG=$(jq -r '.image' "$f/config.json" | awk -F 'alexbelgium/|-{arch' '{print $2}') && \ +#DOWNLOADS="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')" && \ +#echo "$DOWNLOADS users" # Write infos sed -i "$ADDONSLINE"'{G;}' README2.md