dotfiles/.build.yml
2024-08-08 17:08:18 -05:00

19 lines
498 B
YAML

image: archlinux
oauth: pages.sr.ht/PAGES:RW
packages:
- emacs
- hut
sources:
- https://git.sr.ht/~jjanzen/website
- https://git.sr.ht/~jjanzen/blog
tasks:
- build: |
cd ~/.dotfiles
~/website/fix-dotfile-paths.sh
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