tangled
alpha
login
or
join now
kacaii.dev
/
blog
0
fork
atom
💻 My personal website
blog.kacaii.dev/
blog
gleam
lustre
0
fork
atom
overview
issues
pulls
pipelines
:green_heart: use npm instead
kacaii.dev
1 month ago
7ffc4a91
ef2579b0
+3
-7
1 changed file
expand all
collapse all
unified
split
.tangled
workflows
deploy.yml
+3
-7
.tangled/workflows/deploy.yml
···
8
8
9
9
dependencies:
10
10
nixpkgs:
11
11
+
- nodejs
11
12
- tailwindcss_4
12
12
-
- wrangler
13
13
14
14
github:NixOS/nixpkgs/nixpkgs-unstable:
15
15
- gleam
16
16
- beamMinimal28Packages.erlang
17
17
- beamMinimal28Packages.rebar3
18
18
19
19
-
environment:
20
20
-
SITE_PATH: "priv/dist"
21
21
-
SITE_NAME: "blog"
22
22
-
23
19
steps:
24
20
- name: Build CSS
25
21
command: |
26
26
-
tailwindcss -i input.css -o "$SITE_PATH"/style/output.css
22
22
+
tailwindcss -i input.css -o priv/dist/style/output.css
27
23
28
24
- name: Build HTML
29
25
command: |
···
33
29
34
30
- name: Deploy to Cloudflare Workers
35
31
command: |
36
36
-
wrangler pages deploy "$SITE_PATH" --project-name="$SITE_NAME"
32
32
+
npx --yes wrangler pages deploy --branch main --project-name blog priv/dist/