diff options
author | Jacob Janzen <jjanzenn@proton.me> | 2024-04-14 19:33:13 -0500 |
---|---|---|
committer | Jacob Janzen <jjanzenn@proton.me> | 2024-04-14 19:33:13 -0500 |
commit | 07c349adb1807f1a73c1a67f696bebd2809bc38a (patch) | |
tree | 7badfcadf8064e437288a8ac49677b808ba60acc | |
parent | eeeb2736f1cc613f91f0cdb1ba9ae24d0d2a96b9 (diff) |
add CI
-rw-r--r-- | .build.yml | 17 |
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 |