~ekez/tui-webpage

ref: 8e60aef10436bcc0b39d75ae94b1493ba2555c8e tui-webpage/.build.yml -rw-r--r-- 691 bytes
8e60aef1Zeke Medley Add ambient media assignment a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
image: alpine/edge
packages:
- nodejs
- npm
secrets:
- 15ecff23-0c2c-46bd-bf7d-cdc682deeb63
- 226db336-c96a-45eb-b55d-28cece902cb3
sources:
- https://git.sr.ht/~ekez/tui-webpage
tasks:
- deploy: |
    cd tui-webpage
    wget https://github.com/cloudflare/wrangler/releases/download/v1.19.0/wrangler-v1.19.0-x86_64-unknown-linux-musl.tar.gz
    tar -xf wrangler-v1.19.0-x86_64-unknown-linux-musl.tar.gz
    cp dist/wrangler .
    set +x
    CF_API_TOKEN=$(cat ~/.CF_API_TOKEN) ./wrangler publish
    curl \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"content":"'"tui [webpage](https://tui.negativefour.com) deployment complete"'"}' \
    $(cat ~/.WEBHOOK_URL)
    set -x