summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2021-09-16 18:43:24 +1000
committerYuchen Pei <hi@ypei.me>2021-09-16 18:43:24 +1000
commitb9c15cf8e59da408bedb021ae8dbc5e3eab3f924 (patch)
treed78c9a838c2d1a665a8c0b117cc7a420bd09227d /Makefile
parent62c70bac393768caf6c4d99ddbde164c904642a7 (diff)
updated websites and makefile
added make deploy and make announce
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f5d2b78..d915909 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,14 @@
all: publish
+announce:
+ @echo "Announcing on mastodon."
+ ./announce.sh
+
+deploy:
+ @echo "Deploying to libreau.org."
+ ansible-playbook -i ~/.config/ansible/hosts -l libreau ~/.config/ansible/setup/sync-sites.yml
+
publish: publish.el
@echo "Publishing... with current Emacs configurations."
emacs --batch --load publish.el --funcall org-publish-all