Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mt190502 committed Apr 19, 2024
1 parent 630e014 commit cecb961
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
for a in $(find . -maxdepth 1 -type d -not -path '*/\.*' \( ! -iname ".*" \) | grep -v config | sort); do
directory="$(basename $a)"
[[ ! -e $a/.dirinfo ]] && { DIRNAME="ERROR"; DIRINFO="$a/.dirinfo not defined..."; } || { DIRNAME="$(cat $a/.dirinfo | grep 'name:' | cut -d ' ' -f2- )"; DIRINFO="$(cat $a/.dirinfo | grep 'description:' | cut -d ' ' -f2-)"; }
echo -e "| [${DIRNAME}](https://github.com/${{github.repository}}/tree/main/$(basename $a)) | ${DIRINFO} |" >> README.md
echo -e "| [${DIRNAME}](https://github.com/monobilisim/mono.sh/tree/main/$(basename $a)) | ${DIRINFO} |" >> README.md
pushd $a
[[ -e "README.md" ]] && rm README.md
echo -e "| Script | Description |\n|--|--|" > README.md
for b in $(find . -type f -iname "*.sh" | sort); do
filename="$(basename $b)"
fileurl="https://github.com/${{github.repository}}/blob/main/$directory/$filename"
fileurl="https://github.com/monobilisim/mono.sh/blob/main/$directory/$filename"
filedescription="$(cat $b | grep '###~ description' | awk -F ': ' '{print $2}')"
echo -e "| [$filename]($fileurl) | $filedescription |" >> README.md
done
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ There are scripts that provide more than one convenience in this collection
| Folder | Description |
|--|--|
| [Backup Scripts](https://github.com/monobilisim/mono.sh/tree/main/backup) | Simple backup scripts |
| [Backup Scripts](https://github.com/monobilisim/mono.sh/tree/main/backup) | Simple backup scripts |
| [Install Scripts](https://github.com/monobilisim/mono.sh/tree/main/install) | Installation scripts for some programs |
| [Let's Encrypt](https://github.com/monobilisim/mono.sh/tree/main/letsencrypt) | Scripts that simplify the use of Let's Encrypt |
| [Mono Cloud](https://github.com/monobilisim/mono.sh/tree/main/monocloud) | Script Collection for Mono Cloud |
Expand Down
3 changes: 3 additions & 0 deletions monocloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
|--|--|
| [alarm_du_v1.sh](https://github.com/monobilisim/mono.sh/blob/main/monocloud/alarm_du_v1.sh) | When disk fullness reaches a certain limit, it sends a notification to the specified url. |
| [alarm_du_v2.sh](https://github.com/monobilisim/mono.sh/blob/main/monocloud/alarm_du_v2.sh) | When disk fullness reaches a certain limit, it sends a notification to the specified url. |
| [migrate-aws-bucket.sh](https://github.com/monobilisim/mono.sh/blob/main/monocloud/migrate-aws-bucket.sh) | Migrate aws bucket to two accounts |
| [monocloud-health.sh](https://github.com/monobilisim/mono.sh/blob/main/monocloud/monocloud-health.sh) | |
| [wordops-management.sh](https://github.com/monobilisim/mono.sh/blob/main/monocloud/wordops-management.sh) | This script is used to manage WordOps |
1 change: 1 addition & 0 deletions monodb/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
| Script | Description |
|--|--|
| [migrate-pgsql.sh](https://github.com/monobilisim/mono.sh/blob/main/monodb/migrate-pgsql.sh) | Migrate PgSQL data to two servers |
| [monodb-mysql-health.sh](https://github.com/monobilisim/mono.sh/blob/main/monodb/monodb-mysql-health.sh) | Checks the status of MySQL and MySQL cluster |
| [monodb-pgsql-health.sh](https://github.com/monobilisim/mono.sh/blob/main/monodb/monodb-pgsql-health.sh) | Checks the status of PostgreSQL and Patroni cluster |

0 comments on commit cecb961

Please sign in to comment.