blob: 7539d297fa32a954a035596df32a4ca6bed3fb33 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
image: alpine/latest
oauth: pages.sr.ht/PAGES:RW
sources:
- https://git.sr.ht/~sircmpwn/openring
- https://git.envs.net/huyngo/haasdaiga
- https://git.envs.net/huyngo/ravna
- https://git.sr.ht/~huyngo/isanercent
packages:
- openring
- hugo
- mdbook
environment:
site: xrvs.net
tasks:
- build: |
for conlang in haasdaiga ravna isanercent;
do
cd $conlang
mdbook build
cd ..
done
cd $site
./create-webring.sh
hugo --baseURL="https://xrvs.net"
- package: |
for conlang in haasdaiga ravna isanercent;
do
mv "$conlang/book" "$site/public/$conlang"
done
cd "$site/public"
tar -cvz . > ../../site.tar.gz
- upload: |
acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz
|