~huyngo/xrvs.net

ref: cc51275a350b483639efaac757dfa2c2ac2c6e35 xrvs.net/.build.yml -rw-r--r-- 760 bytes
cc51275aNgô Ngọc Đức Huy Update theme 7 months ago
                                                                                
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/edge
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