From 7bb5c3b36ca81926291acde3ffa60e31ceb70314 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Tue, 15 Oct 2024 02:28:24 +0200 Subject: [PATCH] Edit github actions --- .github/scripts/create_readme.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/scripts/create_readme.sh b/.github/scripts/create_readme.sh index b6195c2..1c5638c 100755 --- a/.github/scripts/create_readme.sh +++ b/.github/scripts/create_readme.sh @@ -1,13 +1,13 @@ #!/usr/bin/env bash -# Create the README.md file from the docs/src/README_template.md file +# Create the README.md file from the .github/assets/README_template.md file [[ -d "./docs" ]] || (echo "Folder ./docs not found" && exit 1) README_FILE="./README.md" -table_of_content=$(markdown-table-of-contents --start-by 2 ./docs/src/README_template.md) # https://github.com/anotherhadi/markdown-table-of-contents -readme_content=$(cat "./docs/src/README_template.md") +table_of_content=$(markdown-table-of-contents --start-by 2 ./.github/assets/README_template.md) # https://github.com/anotherhadi/markdown-table-of-contents +readme_content=$(cat "./.github/assets/README_template.md") # Replace variables readme_content=${readme_content//\{primarycolor\}/A594FD}