~strahinja/strahinja.srht.site

ref: a1bdc8f28beb6be015c9d41f1d86de79597f0a5c strahinja.srht.site/.build.yml -rw-r--r-- 731 bytes
a1bdc8f2Страхиња Радић Added .q/.a > ul formatting 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
32
33
image: alpine/latest
oauth: pages.sr.ht/PAGES:RW
environment:
  site: strahinja.srht.site
  gemini_url: gemini.strahinja.org
packages:
- bash
- coreutils
- date
- libunistring
- libunistring-dev
- grep
- sed
sources:
- https://git.sr.ht/~strahinja/strahinja-org-slw
- https://git.sr.ht/~strahinja/slweb
- https://git.sr.ht/~strahinja/slw2gmi
tasks:
- setup: |
    cd slweb
    ./do -c slweb
    cd ../slw2gmi
    ./do -c slw2gmi
- packages: |
    cd $site
    ./do -c $site.tar.gz gemini-archive
- upload-www: |
    cd $site
    acurl -f https://pages.sr.ht/publish/$site -Fcontent=@$site.tar.gz
- upload-gemini: |
    cd $site
    acurl -f https://pages.sr.ht/publish/$gemini_url -Fcontent=@$site-gemini.tar.gz -Fprotocol=GEMINI