commit 2bab3d611f88b04b594a4e14d4b53dfa10416356 parent 8994d950b605ce0f04c57ce53b919ef53c31d9f2 Author: pyratebeard <root@pyratebeard.net> Date: Fri, 23 Sep 2022 21:54:52 +0100 automated toot leave commented out for now until i can figure how to do description, tags, and #/100 Diffstat:
M | scripts/publish | | | 16 | ++++++++++++++++ |
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/scripts/publish b/scripts/publish @@ -5,6 +5,10 @@ TITLE=$1 POST="entry/${TITLE}.md" PUBLISH="entry/$(date +%Y%m%d)-${TITLE}.md" +LINK="https://log.pyratebeard.net/entry/$(date +%Y%m%d)-${TITLE}.html" + +# toot command path +TOOT="$HOME/src/warez/toot/bin/toot" # checkout the correct branch git branch | grep ${TITLE} && \ @@ -23,3 +27,15 @@ git merge "${TITLE}" # push new post git push + +#cat <<log | $TOOT post || curl -d "log toot failed" https://pager.pyratebeard.net/logtoot +#${LINK} +# +#${TITLE} - <description> +# +##/100 #100daystooffload +# +##tag #tag #tag +# +#rss: https://log.pyratebeard.net/rss.xml +#log