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
add workflow
@nekomimi.pet
4 months ago
24e0b6d2
6c599fdc
0/0
Waiting for spindle ...
+33
1 changed file
expand all
collapse all
unified
split
.tangled
workflows
upload-demo-to-wisp.yml
+33
.tangled/workflows/upload-demo-to-wisp.yml
reviewed
···
1
1
+
when:
2
2
+
- event: ['push']
3
3
+
branch: ['main']
4
4
+
- event: ['manual']
5
5
+
engine: 'nixery'
6
6
+
clone:
7
7
+
skip: false
8
8
+
depth: 1
9
9
+
submodules: false
10
10
+
dependencies:
11
11
+
github:NixOS/nixpkgs/nixpkgs-unstable:
12
12
+
- bun:
13
13
+
14
14
+
environment:
15
15
+
SITE_PATH: 'demo'
16
16
+
SITE_NAME: 'atproto-ui'
17
17
+
WISP_HANDLE: 'ana.pds.nkp.pet'
18
18
+
19
19
+
steps:
20
20
+
- name: build demo
21
21
+
command: |
22
22
+
export PATH="$HOME/.nix-profile/bin:$PATH"
23
23
+
bun run build:demo
24
24
+
25
25
+
- name: upload to wisp
26
26
+
command: |
27
27
+
curl https://sites.wisp.place/did:plc:ttdrpj45ibqunmfhdsb4zdwq/wisp-cli-binaries/wisp-cli-aarch64-linux -o wisp-cli
28
28
+
chmod +x wisp-cli
29
29
+
./wisp-cli \
30
30
+
"$WISP_HANDLE" \
31
31
+
--path "$SITE_PATH" \
32
32
+
--site "$SITE_NAME" \
33
33
+
--password "$WISP_APP_PASSWORD"