From: moo Date: Mon, 1 Jun 2026 21:12:20 +0000 (-0700) Subject: 6/1/26 X-Git-Url: https://git.taranathan.com/?a=commitdiff_plain;h=185f8e49a1cdf3b377017f75d92041e4e569404b;p=blog.git 6/1/26 --- diff --git a/content/blog/test.md b/content/blog/test.md new file mode 100644 index 0000000..e03dc13 --- /dev/null +++ b/content/blog/test.md @@ -0,0 +1,4 @@ ++++ +name = "test" +date = 2026-06-01 ++++ diff --git a/justfile b/justfile new file mode 100644 index 0000000..5c05a1f --- /dev/null +++ b/justfile @@ -0,0 +1,22 @@ +mini name: + git switch main + echo "+++" >> ./content/miniblog/{{name}}.md + echo 'name = "{{name}}"' >> ./content/miniblog/{{name}}.md + echo "date = {{`date +%Y-%m-%d`}}" >> ./content/miniblog/{{name}}.md + echo "+++" >> ./content/miniblog/{{name}}.md + helix ./content/miniblog/{{name}}.md + +blog name: + git switch main + echo "+++" >> ./content/blog/{{name}}.md + echo 'name = "{{name}}"' >> ./content/blog/{{name}}.md + echo "date = {{`date +%Y-%m-%d`}}" >> ./content/blog/{{name}}.md + echo "+++" >> ./content/blog/{{name}}.md + helix ./content/blog/{{name}}.md + +deploy: + git switch main + git add -A + git commit -a + git push + sshpass -p {{`pass ssh-keys/default`}} ssh root@taranathan.com 'cd /root/blog/ && git pull'