mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-18 18:38:17 +01:00
Update daily_README.yaml
This commit is contained in:
3
.github/workflows/daily_README.yaml
vendored
3
.github/workflows/daily_README.yaml
vendored
@@ -46,8 +46,6 @@ jobs:
|
||||
# Init
|
||||
echo "Starting"
|
||||
|
||||
DOWNLOADS=0
|
||||
|
||||
# Prepare template
|
||||
cp .templates/.README.md README2.md
|
||||
ADDONSLINE=$(sed -n '/%%ADDONS_LIST%%/=' README2.md)
|
||||
@@ -84,6 +82,7 @@ jobs:
|
||||
ICON=""
|
||||
fi
|
||||
|
||||
DOWNLOADS=0
|
||||
ARCH=amd64 && SLUG=$(jq -r '.image' "$f/config.json" | awk -F 'alexbelgium/|-{arch' '{print $2}') && \
|
||||
COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')" && \
|
||||
DOWNLOADS=$(( $DOWNLOADS + $COUNT))
|
||||
|
||||
Reference in New Issue
Block a user