Skip to content

Commit ce56e0a

Browse files
temporary debug
1 parent edd288d commit ce56e0a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/create-article-from-issue.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,18 @@ jobs:
4343
id: extract
4444
run: |
4545
echo "${{ github.event.issue.body }}" > issue_body.txt
46+
47+
cat issue_body.txt
4648
4749
FILEID=$(grep -oP '(?<=\*\*Google doc\*\*: ).*' issue_body.txt | sed 's|.*\/d/||' | sed 's|/.*||')
4850
AUTHOR=$(grep -oP '(?<=\*\*Profile\*\*: ).*' issue_body.txt)
4951
TAGS=$(grep -oP '(?<=\*\*Tags\*\*: ).*' issue_body.txt)
5052
53+
echo "Extracted values:"
54+
echo "File ID: $FILEID"
55+
echo "Author: $AUTHOR"
56+
echo "Tags: $TAGS"
57+
5158
echo "fileid=$FILEID" >> "$GITHUB_OUTPUT"
5259
echo "author=$AUTHOR" >> "$GITHUB_OUTPUT"
5360
echo "tags=$TAGS" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)