~taiju/libre.taiju.info

ref: bcc0c9ae6be24428f5cf6d8fff0a655fb72b4af5 libre.taiju.info/.build.yml -rw-r--r-- 893 bytes
bcc0c9aeTaiju HIGASHI article: Fix a typo. 4 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
image: debian/stable
oauth: pages.sr.ht/PAGES:RW
packages:
  - python3-pip
  - pelican
  - wget
environment:
  site: libre.taiju.info
sources:
  - https://git.sr.ht/~taiju/libre.taiju.info
  - https://git.sr.ht/~taiju/agilemanifesto
tasks:
- install-pelican-plugins: |
    cd $site
    pip3 install pelican-sitemap
- pelican: |
    cd $site
    pelican -v
    cp -a _output/* output/
- agilemanifesto: |
    cd agilemanifesto
    wget https://github.com/rust-lang/mdBook/releases/download/v0.4.12/mdbook-v0.4.12-x86_64-unknown-linux-gnu.tar.gz
    tar -xf mdbook-v0.4.12-x86_64-unknown-linux-gnu.tar.gz
    ./mdbook build
- package: |
    cd $site
    mkdir -p output/presentations/agilemanifesto
    cp -a ../agilemanifesto/book/* output/presentations/agilemanifesto/
    tar -C output -cvz . > ../site.tar.gz
- upload: |
    acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz