Skip to content

Commit b11c98a

Browse files
committed
modifications after testing
1 parent 53e5b25 commit b11c98a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/badges-notify.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
uses: actions/checkout@v4
1717

1818
- name: Make script executable
19-
run: chmod +x .scripts/badger.sh
19+
run: chmod +x scripts/badger.sh
2020

2121
- name: Run badge finder script
2222
id: find_badges
2323
run: |
2424
# Run the script and capture output
25-
SCRIPT_OUTPUT=$(./scripts/badger.sh)
25+
SCRIPT_OUTPUT=$(scripts/badger.sh)
2626
2727
# Escape the output for JSON and store in GitHub output
2828
# Replace newlines with \n and escape quotes

scripts/badger.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ for component in "${components[@]}"; do
5353
if [ -n "$file" ]; then
5454
slug=$(extract_slug_from_file "$file")
5555
if [[ "$slug" == \[no\ slug\]* ]]; then
56-
echo " $slug"
56+
echo " $slug"
5757
else
58-
echo " https://clickhouse.com/docs$slug"
58+
echo " https://clickhouse.com/docs$slug"
5959
fi
6060
fi
6161
done <<< "$files"

0 commit comments

Comments
 (0)