tangled
alpha
login
or
join now
hayden.moe
/
www
0
fork
atom
My landing page, written in Astro
hayden.moe
0
fork
atom
overview
issues
pulls
pipelines
feat(ci): tangled -> wisp deploy
hayden.moe
4 months ago
1c71500c
948f1054
verified
This commit was signed with the committer's
known signature
.
hayden.moe
SSH Key Fingerprint:
SHA256:egi2RxHATuWGOtHoLWJQb68bxJ+Jg/4m40QL5UFBWEI=
0/1
build-push.yaml
failed
40s
+37
1 changed file
expand all
collapse all
unified
split
.tangled
workflows
build-push.yaml
+37
.tangled/workflows/build-push.yaml
···
1
1
+
---
2
2
+
when:
3
3
+
- event: ['push']
4
4
+
branch: ['main']
5
5
+
- event: ['manual']
6
6
+
7
7
+
engine: 'nixery'
8
8
+
9
9
+
clone:
10
10
+
skip: false
11
11
+
depth: 1
12
12
+
submodules: false
13
13
+
14
14
+
dependencies:
15
15
+
nixpkgs:
16
16
+
- nodejs
17
17
+
- coreutils
18
18
+
- curl
19
19
+
github:NixOS/nixpkgs/nixpkgs-unstable:
20
20
+
- bun
21
21
+
22
22
+
steps:
23
23
+
- name: build site
24
24
+
command: |
25
25
+
# necessary to ensure bun is in PATH
26
26
+
export PATH="$HOME/.nix-profile/bin:$PATH"
27
27
+
bun install --frozen-lockfile
28
28
+
bun run build
29
29
+
30
30
+
- name: deploy to wisp
31
31
+
command: |
32
32
+
# Download Wisp CLI
33
33
+
curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli
34
34
+
chmod +x wisp-cli
35
35
+
36
36
+
# Deploy to Wisp
37
37
+
./wisp-cli deploy hayden.moe --path "dist" --site "home" --password "$WISP_APP_PASSWORD"