20 lines
532 B
YAML
20 lines
532 B
YAML
image: archlinux
|
|
oauth: pages.sr.ht/PAGES:RW
|
|
packages:
|
|
- emacs
|
|
- hut
|
|
sources:
|
|
- https://git.sr.ht/~jjanzen/.dotfiles
|
|
- https://git.sr.ht/~jjanzen/blog
|
|
tasks:
|
|
- build: |
|
|
cd ~/.dotfiles
|
|
~/website/fix-dotfile-paths.sh
|
|
emacs --batch -f package-initialize --script ~/website/publish.el
|
|
~/website/post-publish.sh
|
|
- 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
|