diff --git a/.github/workflows/daily_READMEgen.yaml b/.github/workflows/daily_READMEgen.yaml index 4dd44d2b1..5404e5cc9 100644 --- a/.github/workflows/daily_READMEgen.yaml +++ b/.github/workflows/daily_READMEgen.yaml @@ -33,8 +33,8 @@ jobs: sed -i "$ADDONSLINE"'i ![Version](https://img.shields.io/badge/dynamic/json?label=Version&query=%24.version&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2F'"$f"'%2Fconfig.json)' README.md || true NAME=$(jq -r '.name' $f/config.json) DESCRIPTION=$(jq -r '.description' $f/config.json) + sed -i "$ADDONSLINE"'i - ['"$NAME"']('"$f"'/) : '"$DESCRIPTION" README.md sed -i "$ADDONSLINE"'{G;}' README.md - sed -i "$ADDONSLINE"'i ['"$NAME"']('"$f"'/) : '"$DESCRIPTION" README.md fi done shell: bash