Post 2024-10-21
All checks were successful
Deploy to Netlify / Deploy Hugo site to Netlify (push) Successful in 2m2s

This commit is contained in:
Alan Youngblood
2024-10-21 15:15:11 -04:00
parent 65cee6c9b3
commit df9601f65d
212 changed files with 12531 additions and 1444 deletions

View File

@ -49,7 +49,7 @@ jobs:
TITLE=$(awk -v pat="title" -F":" '$0 ~ pat {print $2}' $SUBDIR/index.md)
DESC=$(awk -v pat="description" -F":" '$0 ~ pat {print $2}' $SUBDIR/index.md)
echo "Posting the following to mastodon"
echo "Check out my latest blog post $TITLE about $DESC read more at https://allisthewave.com/posts/$POST"
echo "Check out my latest blog post $TITLE about $DESC #100DaysToOffload read more at https://allisthewave.com/posts/$POST"
curl https://fosstodon.org/api/v1/statuses -H "Authorization: Bearer kdKxV9v4Cv-GwhAd5YHDqI6xJsKT4KkFX89FlhPvBzw" -F "status=Check out my latest blog post $TITLE about $DESC read more at https://allisthewave.com/posts/$POST"
else
echo "The commit message is not in format 'Post YYYY-MM-DD' or failed to parse..."