build script for both

This commit is contained in:
dtb 2023-09-11 23:25:24 -04:00
parent 891645e663
commit eb33930a05
3 changed files with 15 additions and 30 deletions

15
.build.yml Normal file
View File

@ -0,0 +1,15 @@
image: alpine/edge
oauth: pages.sr.ht/PAGES:RW
packages:
- hut
- m4
tasks:
- build: |
make -C murderu.us/wiki
- package: |
>www.tar.gz tar cvz -C murderu.us/www .
>wiki.tar.gz tar cvz -C murderu.us/wiki --exclude '*.mk' --exclude '*.m4' .
ls -l
- upload: |
hut pages publish -d murderu.us www.tar.gz
hut pages publish -d be.murderu.us wiki.tar.gz

View File

@ -1,19 +0,0 @@
image: alpine/edge
oauth: pages.sr.ht/PAGES:RW
packages:
- hut
- m4
tasks:
- build: |
cd wiki
make
- package: |
cd wiki
tar cvz \
--exclude .git \
--exclude '*.m4' \
--exclude '*.mk' \
. >../site.tar.gz
ls -l ../site.tar.gz
- upload: |
hut pages publish -d be.murderu.us site.tar.gz

View File

@ -1,11 +0,0 @@
image: alpine/edge
oauth: pages.sr.ht/PAGES:RW
packages:
- hut
tasks:
- package: |
cd murderu.us
tar cvz --exclude .git . >../site.tar.gz
ls -l ../site.tar.gz
- upload:
hut pages publish -d murderu.us site.tar.gz