build script for both
This commit is contained in:
parent
891645e663
commit
eb33930a05
15
.build.yml
Normal file
15
.build.yml
Normal 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
|
@ -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
|
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user