+25
.tangled/workflows/build.yml
+25
.tangled/workflows/build.yml
···
1
+
when:
2
+
- event: ["push"]
3
+
branch: ["main"]
4
+
5
+
dependencies:
6
+
nixpkgs:
7
+
- cargo
8
+
- bun
9
+
- curl
10
+
- gcc
11
+
- cmake
12
+
- gnumake
13
+
14
+
steps:
15
+
- name: test server
16
+
command: |
17
+
cd server && cargo test
18
+
- name: build client
19
+
command: |
20
+
export PUBLIC_API_URL="localhost:3713"
21
+
bun --cwd=client install
22
+
bun --cwd=client run -b build
23
+
- name: trigger deploy
24
+
command: |
25
+
curl -u "$WEBHOOK_AUTH" https://webhook.gaze.systems/deploy-wolumonde