generated from Zeronaut/nbco-hugo-web
Post 2024-05-01
All checks were successful
Deploy to Netlify / Deploy Hugo site to Netlify (push) Successful in 29s
All checks were successful
Deploy to Netlify / Deploy Hugo site to Netlify (push) Successful in 29s
This commit is contained in:
@ -50,7 +50,7 @@ jobs:
|
||||
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"
|
||||
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'
|
||||
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..."
|
||||
fi
|
||||
|
Reference in New Issue
Block a user