tangled
alpha
login
or
join now
holly.mlem.systems
/
devins.page
forked from
devins.page/devins.page
0
fork
atom
my website, hosted on wisp.place
0
fork
atom
overview
issues
pulls
pipelines
fix: use pnpm
devins.page
1 month ago
e033fa7a
b94fac93
+3
-11
1 changed file
expand all
collapse all
unified
split
.tangled
workflows
wisp-deploy.yaml
+3
-11
.tangled/workflows/wisp-deploy.yaml
···
12
13
dependencies:
14
nixpkgs:
0
15
- nodejs
16
- coreutils
17
- curl
18
-
github:NixOS/nixpkgs/nixpkgs-unstable:
19
-
- bun
20
21
environment:
22
SITE_PATH: "dist"
···
26
steps:
27
- name: build site
28
command: |
29
-
# necessary to ensure bun is in PATH
30
export PATH="$HOME/.nix-profile/bin:$PATH"
31
-
32
-
bun install --frozen-lockfile
33
-
34
-
# build with vite, run directly to get around env issues
35
-
bun node_modules/.bin/astro build
36
37
- name: deploy to wisp
38
command: |
39
-
# Download Wisp CLI
40
curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli
41
chmod +x wisp-cli
42
-
43
-
# Deploy to Wisp
44
./wisp-cli deploy \
45
"$WISP_HANDLE" \
46
--path "$SITE_PATH" \
···
12
13
dependencies:
14
nixpkgs:
15
+
- pnpm
16
- nodejs
17
- coreutils
18
- curl
0
0
19
20
environment:
21
SITE_PATH: "dist"
···
25
steps:
26
- name: build site
27
command: |
0
28
export PATH="$HOME/.nix-profile/bin:$PATH"
29
+
pnpm install --frozen-lockfile
30
+
pnpm node_modules/.bin/astro build
0
0
0
31
32
- name: deploy to wisp
33
command: |
0
34
curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli
35
chmod +x wisp-cli
0
0
36
./wisp-cli deploy \
37
"$WISP_HANDLE" \
38
--path "$SITE_PATH" \