~arcade/nebula

ref: 34327c8c95527aac0e73c735141373a08697d3d1 nebula/.build.yml -rw-r--r-- 656 bytes
34327c8c — Arcade Wise Fix CNAME 6 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
image: alpine/latest
packages:
  - aspell
  - shards
  - crystal
  - yaml-dev
  - libxml2-dev
oauth: pages.sr.ht/PAGES:RW
environment:
  site: arcade.srht.site
sources:
  - https://git.sr.ht/~arcade/nebula
tasks:
- setup: |
    mkdir bin
    wget https://github.com/makeworld-the-better-one/didder/releases/download/v1.1.0/didder_1.1.0_linux_64-bit -O /home/build/bin/didder
    chmod +x ~/bin/didder
    export PATH="$PATH:/home/build/bin"
- package: |
    export PATH="$PATH:/home/build/bin"
    cd nebula
    make build-content
    tar -C site/out -cvz . > ../site.tar.gz
- upload: |
    acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz