~welt/murse

ref: db85e43da90177a9ed7275eb7f2d6952407c1466 murse/.builds/build.yml -rw-r--r-- 604 bytes
db85e43dwelt guiprep: adjust logging 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
image: alpine/edge
packages:
  - go
  - rsync
secrets:
  - f9c53b5e-7a8b-4ea1-a0b0-99725eb1c641
sources:
  - https://git.sr.ht/~welt/murse
tasks:
- build: |  
    cd murse
    go build -ldflags "-s -w" ./
    GOOS="windows" go build -ldflags "-s -w" ./
    if [ "$(git rev-parse origin/master)" != "$(git rev-parse HEAD)" ]; then \
      complete-build; \
    fi
- upload: |
    echo "StrictHostKeyChecking=no" >> ~/.ssh/config
    rsync murse/murse dl@willow.spiderden.net:/var/www/dl.spiderden.net/murse/murse
    rsync murse/murse.exe dl@willow.spiderden.net:/var/www/dl.spiderden.net/murse/murse.exe