mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-11 01:55:59 +02: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
|
# Init
|
||||||
echo "Starting"
|
echo "Starting"
|
||||||
|
|
||||||
DOWNLOADS=0
|
|
||||||
|
|
||||||
# Prepare template
|
# Prepare template
|
||||||
cp .templates/.README.md README2.md
|
cp .templates/.README.md README2.md
|
||||||
ADDONSLINE=$(sed -n '/%%ADDONS_LIST%%/=' README2.md)
|
ADDONSLINE=$(sed -n '/%%ADDONS_LIST%%/=' README2.md)
|
||||||
@@ -84,6 +82,7 @@ jobs:
|
|||||||
ICON=""
|
ICON=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
DOWNLOADS=0
|
||||||
ARCH=amd64 && SLUG=$(jq -r '.image' "$f/config.json" | awk -F 'alexbelgium/|-{arch' '{print $2}') && \
|
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}')" && \
|
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))
|
DOWNLOADS=$(( $DOWNLOADS + $COUNT))
|
||||||
|
|||||||
Reference in New Issue
Block a user