add CI
This commit is contained in:
parent
eeeb2736f1
commit
07c349adb1
1 changed files with 17 additions and 0 deletions
17
.build.yml
Normal file
17
.build.yml
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue