tangled
alpha
login
or
join now
nekomimi.pet
/
bunsite
0
fork
atom
personal website
0
fork
atom
overview
issues
pulls
pipelines
dsaf
nekomimi.pet
2 weeks ago
4d4e157d
204896fa
0/1
deploy.yml
failed
44s
+41
-39
1 changed file
expand all
collapse all
unified
split
.tangled
workflows
deploy.yml
+41
-39
.tangled/workflows/deploy.yml
···
1
1
when:
2
2
-
- event: ['push']
3
3
-
branch: ['main']
4
4
-
- event: ['manual']
2
2
+
- event: ["push"]
3
3
+
branch: ["main"]
4
4
+
- event: ["manual"]
5
5
6
6
-
engine: 'nixery'
6
6
+
engine: "nixery"
7
7
8
8
clone:
9
9
-
skip: false
10
10
-
depth: 1
9
9
+
skip: false
10
10
+
depth: 1
11
11
12
12
dependencies:
13
13
-
nixpkgs:
14
14
-
- coreutils
15
15
-
- curl
16
16
-
- nodejs
17
17
-
- glibc
18
18
-
- gcc
19
19
-
- stdenv.cc.cc.lib
20
20
-
github:NixOS/nixpkgs/nixpkgs-unstable:
21
21
-
- bun
22
22
-
13
13
+
nixpkgs:
14
14
+
- coreutils
15
15
+
- curl
16
16
+
- nodejs
17
17
+
- glibc
18
18
+
- gcc
19
19
+
- stdenv.cc.cc.lib
20
20
+
- extra-cmake-modules
21
21
+
- cmake
22
22
+
- gnumake
23
23
+
- libgcc
24
24
+
github:NixOS/nixpkgs/nixpkgs-unstable:
25
25
+
- bun
23
26
24
27
environment:
25
25
-
SITE_PATH: 'dist' # Copy entire repo
26
26
-
SITE_NAME: 'meow'
27
27
-
WISP_HANDLE: 'nekomimi.pet'
28
28
+
SITE_PATH: "dist" # Copy entire repo
29
29
+
SITE_NAME: "meow"
30
30
+
WISP_HANDLE: "nekomimi.pet"
28
31
29
32
steps:
30
30
-
- build:
31
31
-
command: |
32
32
-
export PATH="$HOME/.nix-profile/bin:$PATH"
33
33
-
export LD_LIBRARY_PATH="$(find /nix/store -name 'libstdc++.so.6' -exec dirname {} \; 2>/dev/null | head -1):$LD_LIBRARY_PATH"
33
33
+
- build:
34
34
+
command: |
35
35
+
export PATH="$HOME/.nix-profile/bin:$PATH"
36
36
+
export LD_LIBRARY_PATH="$(find /nix/store -name 'libstdc++.so.6' -exec dirname {} \; 2>/dev/null | head -1):$LD_LIBRARY_PATH"
34
37
35
35
-
rm -rf bun.lock
36
36
-
bun install @oven/bun-linux-x64
37
37
-
bun install
38
38
+
rm -rf bun.lock
39
39
+
bun install @oven/bun-linux-x64
40
40
+
bun install
38
41
39
39
-
bun run build
40
40
-
- name: deploy assets to wisp
41
41
-
command: |
42
42
-
# Download Wisp CLI
43
43
-
curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli
44
44
-
45
45
-
chmod +x wisp-cli
42
42
+
bun run build
43
43
+
- name: deploy assets to wisp
44
44
+
command: |
45
45
+
# Download Wisp CLI
46
46
+
curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli
46
47
47
47
-
# Deploy to Wisp
48
48
-
./wisp-cli \
49
49
-
"$WISP_HANDLE" \
50
50
-
--path "$SITE_PATH" \
51
51
-
--site "$SITE_NAME" \
52
52
-
--password "$WISP_APP_PASSWORD"
48
48
+
chmod +x wisp-cli
53
49
50
50
+
# Deploy to Wisp
51
51
+
./wisp-cli \
52
52
+
"$WISP_HANDLE" \
53
53
+
--path "$SITE_PATH" \
54
54
+
--site "$SITE_NAME" \
55
55
+
--password "$WISP_APP_PASSWORD"