Skip to content

Commit

Permalink
check intput
Browse files Browse the repository at this point in the history
  • Loading branch information
drmowinckels committed Nov 3, 2024
1 parent 4f7e35b commit 5a4be62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,9 @@ jobs:
message="📝 New blog post 📝 '${{ env.TITLE }}' $${{ env.EMOJI }} ${{ env.SUMMARY }} 👀 Read the post ${{ env.TAGS }}"
start_offset=$(echo -n "$message" | grep -b -o "Read the post" | cut -d: -f1 )
end_offset=$((start_offset + 13)) # "Read the post" is 13 characters long
end_offset=$((start_offset + 13))
echo start: $start_offset end: $end_offset
# Add facet for "Read the post" link
facets=$(jq -nc \
Expand Down

0 comments on commit 5a4be62

Please sign in to comment.