tangled
alpha
login
or
join now
notjack.space
/
site
0
fork
atom
My personal website.
0
fork
atom
overview
issues
pulls
pipelines
Try adding a deployment script
Here we go.
notjack.space
2 months ago
189e8900
99807c14
1/1
deploy.yaml
success
1min 48s
+32
1 changed file
expand all
collapse all
unified
split
.tangled
workflows
deploy.yaml
+32
.tangled/workflows/deploy.yaml
···
1
1
+
# Mostly copied from the Wisp docs: https://docs.wisp.place/cli/#cicd-integration
2
2
+
3
3
+
when:
4
4
+
- event: ['push']
5
5
+
branch: ['main']
6
6
+
- event: ['manual']
7
7
+
8
8
+
engine: 'nixery'
9
9
+
10
10
+
dependencies:
11
11
+
nixpkgs:
12
12
+
- coreutils
13
13
+
- curl
14
14
+
- racket
15
15
+
16
16
+
steps:
17
17
+
- name: build site
18
18
+
command: |
19
19
+
scribble --dest dist index.scrbl resume.scrbl
20
20
+
21
21
+
- name: deploy to wisp
22
22
+
command: |
23
23
+
# Download Wisp CLI
24
24
+
curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli
25
25
+
chmod +x wisp-cli
26
26
+
27
27
+
# Deploy to Wisp
28
28
+
./wisp-cli \
29
29
+
"notjack.space" \
30
30
+
--path "dist" \
31
31
+
--site "site" \
32
32
+
--password "$WISP_APP_PASSWORD"