about summary refs log tree commit diff
path: root/.build.yml
blob: 1217c5a9d915adbb4950f2e280de029126352dbc (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
34
35
36
37
38
39
40
41
42
43
44
45
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
  - https://git.sr.ht/~huyngo/djanzi
  - https://git.sr.ht/~huyngo/web-cv
  - https://git.sr.ht/~cnx/fead
packages:
  - hugo
  - mdbook
environment:
  site: xrvs.net
tasks:
- build: |
    for conlang in haasdaiga ravna isanercent djanzi;
    do
      cd $conlang
      mdbook build
      cd ..
    done
    cd $site
    ./create-webring.sh
    hugo --baseURL="https://xrvs.net"
    mv public dotnet
    hugo --baseURL="http://xrvs.geek"
    mv public dotgeek
- package: |
    for conlang in haasdaiga ravna isanercent djanzi;
    do
      cp "$conlang/book" "$site/dotnet/$conlang"
      cp "$conlang/book" "$site/dotgeek/$conlang"
    done
    cp web-cv "$site/dotnet/cv"
    cp web-cv "$site/dotgeek/cv"
    cd "$site/dotnet"
    tar -cvz . > ../../dotnet.tar.gz
    cd ../dotgeek
    tar -cvz . > ../../dotgeek.tar.gz
- upload: |
    acurl -f https://pages.sr.ht/publish/$site -Fcontent=@dotnet.tar.gz
artifacts:
  - dotgeek.tar.gz