tangled
alpha
login
or
join now
nekomimi.pet
/
atproto-ui
41
fork
atom
A React component library for rendering common AT Protocol records for applications such as Bluesky and Leaflet.
41
fork
atom
overview
issues
2
pulls
pipelines
fix workflow
@nekomimi.pet
4 months ago
46823a0b
24e0b6d2
1/1
upload-demo-to-wisp.yml
success
34s
+13
-3
1 changed file
expand all
collapse all
unified
split
.tangled
workflows
upload-demo-to-wisp.yml
+13
-3
.tangled/workflows/upload-demo-to-wisp.yml
reviewed
···
8
8
depth: 1
9
9
submodules: false
10
10
dependencies:
11
11
+
nixpkgs:
12
12
+
- nodejs
13
13
+
- coreutils
14
14
+
- curl
11
15
github:NixOS/nixpkgs/nixpkgs-unstable:
12
12
-
- bun:
16
16
+
- bun
13
17
14
18
environment:
15
19
SITE_PATH: 'demo'
···
20
24
- name: build demo
21
25
command: |
22
26
export PATH="$HOME/.nix-profile/bin:$PATH"
23
23
-
bun run build:demo
24
27
28
28
+
# regenerate lockfile, https://github.com/npm/cli/pull/8184 makes rolldown not install
29
29
+
rm package-lock.json bun.lock
30
30
+
bun install @rolldown/binding-linux-arm64-gnu --save-optional
31
31
+
bun install
32
32
+
33
33
+
# run directly with bun because of shebang issues in nix
34
34
+
BUILD_TARGET=demo bun node_modules/.bin/vite build
25
35
- name: upload to wisp
26
36
command: |
27
27
-
curl https://sites.wisp.place/did:plc:ttdrpj45ibqunmfhdsb4zdwq/wisp-cli-binaries/wisp-cli-aarch64-linux -o wisp-cli
37
37
+
curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-aarch64-linux -o wisp-cli
28
38
chmod +x wisp-cli
29
39
./wisp-cli \
30
40
"$WISP_HANDLE" \