tangled
alpha
login
or
join now
diddyfo.id
/
bluroma
12
fork
atom
pleroma-like client for Bluesky
pl.hexmani.ac
bluesky
pleroma
social-media
12
fork
atom
overview
issues
3
pulls
pipelines
Add Wisp deploy script
diddyfo.id
3 months ago
b40ef349
643b3675
verified
This commit was signed with the committer's
known signature
.
diddyfo.id
SSH Key Fingerprint:
SHA256:tV3v2UX4P3x12jjh+mHVzpRQ4ZhNBCHoFwqRiYzzTcM=
2/2
build.yaml
success
18s
deploy-main.yaml
success
22s
+41
1 changed file
expand all
collapse all
unified
split
.tangled
workflows
deploy-main.yaml
+41
.tangled/workflows/deploy-main.yaml
···
1
1
+
when:
2
2
+
- event: ["push"]
3
3
+
branch: ["main"]
4
4
+
- event: ["manual"]
5
5
+
6
6
+
engine: "nixery"
7
7
+
8
8
+
dependencies:
9
9
+
nixpkgs:
10
10
+
- bun
11
11
+
- coreutils
12
12
+
- curl
13
13
+
- nodejs
14
14
+
15
15
+
environment:
16
16
+
SITE_PATH: "dist"
17
17
+
SITE_NAME: "bluroma"
18
18
+
WISP_HANDLE: "hexmani.ac"
19
19
+
20
20
+
steps:
21
21
+
- name: "Install dependencies"
22
22
+
command: "bun install --frozen-lockfile"
23
23
+
24
24
+
- name: "Build app"
25
25
+
command: "bun run build"
26
26
+
27
27
+
- name: "Deploy to Wisp"
28
28
+
command: |
29
29
+
curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli
30
30
+
chmod +x wisp-cli
31
31
+
32
32
+
./wisp-cli deploy \
33
33
+
"$WISP_HANDLE" \
34
34
+
--path "$SITE_PATH" \
35
35
+
--site "$SITE_NAME" \
36
36
+
--password "$WISP_APP_PASSWORD"
37
37
+
38
38
+
clone:
39
39
+
skip: false
40
40
+
depth: 50
41
41
+
submodules: true