mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 22:04:06 +02:00
Update daily_READMEgen.yaml
This commit is contained in:
6
.github/workflows/daily_READMEgen.yaml
vendored
6
.github/workflows/daily_READMEgen.yaml
vendored
@@ -8,7 +8,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
crlf_to_lf:
|
README_updater:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
@@ -30,8 +30,8 @@ jobs:
|
|||||||
[ $(jq '.ingress' "$f/config.json") ] && echo "ingress" && sed -i "$ADDONSLINE"'i ![ingress][ingress-badge]' README.md || true
|
[ $(jq '.ingress' "$f/config.json") ] && echo "ingress" && sed -i "$ADDONSLINE"'i ![ingress][ingress-badge]' README.md || true
|
||||||
[ $(jq '.codenotary' "$f/config.json") ] && echo "codenotary" && sed -i "$ADDONSLINE"'i ![Signed][signed-badge]' README.md || true
|
[ $(jq '.codenotary' "$f/config.json") ] && echo "codenotary" && sed -i "$ADDONSLINE"'i ![Signed][signed-badge]' README.md || true
|
||||||
[ $(jq '.version' "$f/config.json") ] && echo "version" && sed -i "$ADDONSLINE"'i ![version][version-badge]' README.md || true
|
[ $(jq '.version' "$f/config.json") ] && echo "version" && sed -i "$ADDONSLINE"'i ![version][version-badge]' README.md || true
|
||||||
NAME=$(jq '.name' $f/config.json)
|
NAME=$(jq -r '.name' $f/config.json)
|
||||||
DESCRIPTION=$(jq '.description' $f/config.json)
|
DESCRIPTION=$(jq -r '.description' $f/config.json)
|
||||||
sed -i "$ADDONSLINE"'i ['"$NAME"']('"$f"'/) : '"$DESCRIPTION" README.md
|
sed -i "$ADDONSLINE"'i ['"$NAME"']('"$f"'/) : '"$DESCRIPTION" README.md
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user