aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.build.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..48e2aee
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,17 @@
+image: archlinux
+oauth: pages.sr.ht/PAGES:RW
+packages:
+ - emacs
+ - hut
+sources:
+ - https://git.sr.ht/~jjanzen/.doom.d
+ - https://git.sr.ht/~jjanzen/website
+tasks:
+ - build: |
+ emacs --batch -f package-initialize --script ~/website/publish.el
+ - package: |
+ cd ~/public_html/
+ tar -cvz . > ../site.tar.gz
+ - upload: |
+ hut pages publish -d jjanzen.ca site.tar.gz
+ hut pages publish -d www.jjanzen.ca site.tar.gz