mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-31 17:07:42 +01:00
Update daily_README.yaml
This commit is contained in:
9
.github/workflows/daily_README.yaml
vendored
9
.github/workflows/daily_README.yaml
vendored
@@ -124,10 +124,11 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Write stats
|
# Write stats
|
||||||
sed -i "s|%%STATS_DOWNLOADS%%|$(cat Stats | awk 'NR==2{print $1}')|g" README2.md
|
# shellcheck disable=SC2002
|
||||||
sed -i "s|%%STATS_ADDONS%%|$(find . -name "config.json" | wc -l)|g" README2.md
|
12sed -i "s|%%STATS_DOWNLOADS%%|$(cat Stats | awk 'NR==2{print $1}')|g" README2.md && \
|
||||||
STATS_ONE="$(cat Stats | awk 'NR==3{print $(NF)}')"
|
sed -i "s|%%STATS_ADDONS%%|$(find . -name "config.json" | wc -l)|g" README2.md && \
|
||||||
STATS_TWO="$(cat Stats | awk 'NR==4{print $(NF)}')"
|
STATS_ONE="$(cat Stats | awk 'NR==3{print $(NF)}')" && \
|
||||||
|
STATS_TWO="$(cat Stats | awk 'NR==4{print $(NF)}')" && \
|
||||||
STATS_THREE="$(cat Stats | awk 'NR==5{print $(NF)}')"
|
STATS_THREE="$(cat Stats | awk 'NR==5{print $(NF)}')"
|
||||||
sed -i "s|%%STATS_ONE%%|${STATS_ONE^}|g" README2.md
|
sed -i "s|%%STATS_ONE%%|${STATS_ONE^}|g" README2.md
|
||||||
sed -i "s|%%STATS_TWO%%|${STATS_TWO^}|g" README2.md
|
sed -i "s|%%STATS_TWO%%|${STATS_TWO^}|g" README2.md
|
||||||
|
|||||||
Reference in New Issue
Block a user