blog/.build.yml
Jacob Janzen 07c349adb1 add CI
2024-04-14 19:33:13 -05:00

17 lines
443 B
YAML

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