Skip to content

Commit 2ef0f52

Browse files
authored
Update deploy.yml
1 parent 8c3df47 commit 2ef0f52

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,14 @@ jobs:
9494
id: extract
9595
run: |
9696
REPO="https://github.com/${{ github.repository }}"
97-
98-
# Match '## ' lines with optional leading spaces
99-
grep '^[[:space:]]*## ' pr_body.md | sed 's/^[[:space:]]*## //' > packages.txt
97+
98+
echo "🔍 PR body content:" && cat pr_body.md
99+
100+
# Use grep with flexible spacing
101+
grep -E '^\s*##\s+@' pr_body.md | sed -E 's/^\s*##\s+//' > packages.txt
102+
103+
echo "🔍 Extracted packages:"
104+
cat packages.txt
100105

101106
if [ -s packages.txt ]; then
102107
while read -r line; do

0 commit comments

Comments
 (0)