generated from Zeronaut/nbco-hugo-web
Post 2024-10-21
All checks were successful
Deploy to Netlify / Deploy Hugo site to Netlify (push) Successful in 2m2s
All checks were successful
Deploy to Netlify / Deploy Hugo site to Netlify (push) Successful in 2m2s
This commit is contained in:
@ -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..."
|
||||
|
Reference in New Issue
Block a user