tangled
alpha
login
or
join now
madoka.systems
/
labyrinth
0
fork
atom
this repo has no description
madoka.systmes
0
fork
atom
overview
issues
pulls
pipelines
add ci
madoka.systems
2 months ago
aa865a68
07046332
1/1
deploy.yaml
success
1m 34s
+41
-4
2 changed files
expand all
collapse all
unified
split
.gitignore
.tangled
workflows
deploy.yaml
-4
.gitignore
···
2
2
result
3
3
public/
4
4
.DS_Store
5
5
-
.*
6
6
-
7
7
-
!.envrc
8
8
-
!.gitignore
+41
.tangled/workflows/deploy.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
+
clone:
9
9
+
skip: false
10
10
+
depth: 1
11
11
+
submodules: false
12
12
+
13
13
+
dependencies:
14
14
+
nixpkgs:
15
15
+
- coreutils
16
16
+
- curl
17
17
+
18
18
+
environment:
19
19
+
SITE_PATH: "result"
20
20
+
SITE_NAME: "madoka"
21
21
+
WISP_HANDLE: "madoka.systems"
22
22
+
23
23
+
steps:
24
24
+
- name: build site
25
25
+
command: |
26
26
+
export PATH="$HOME/.nix-profile/bin:$PATH"
27
27
+
28
28
+
nix 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 \
38
38
+
"$WISP_HANDLE" \
39
39
+
--path "$SITE_PATH" \
40
40
+
--site "$SITE_NAME" \
41
41
+
--password "$WISP_APP_PASSWORD"