Skip to content

Commit

Permalink
Edit github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherhadi committed Oct 15, 2024
1 parent 1c477ba commit 7bb5c3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/create_readme.sh
Original file line number Diff line number Diff line change
@@ -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}
Expand Down

0 comments on commit 7bb5c3b

Please sign in to comment.