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