~repos /website

#astro#js#html#css

GIT_CONFIG_PARAMETERS="'http.version=HTTP/1.1'" git clone https://git.pyrossh.dev/website/.git website
Discussions: https://groups.google.com/g/rust-embed-devs

木 Personal website of pyrossh. Built with astrojs, shiki, vite.


.alchemy/prd/rewrite-rules-prd.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "fqn": "prd/rewrite-rules-prd",
5
5
  "seq": 3,
6
6
  "data": {},
7
- "status": "updated",
7
+ "status": "created",
8
8
  "output": {
9
9
  "Symbol(alchemy::ResourceKind)": "cloudflare::Ruleset",
10
10
  "Symbol(alchemy::ResourceID)": "rewrite-rules-prd",
@@ -30,9 +30,9 @@
30
30
  "description": "Rewrite trailing slash to index.html",
31
31
  "enabled": true,
32
32
  "expression": "(ends_with(http.request.uri.path, \"/\") and http.host eq \"pyrossh.dev\")",
33
- "id": "1271eccefbe54f8e9c06b1ad88833710",
33
+ "id": "6f422284b559416c8fdaff9fe7729dcf",
34
- "last_updated": "2026-05-13T14:35:31.641241Z",
34
+ "last_updated": "2026-05-15T05:38:13.541986Z",
35
- "ref": "1271eccefbe54f8e9c06b1ad88833710",
35
+ "ref": "6f422284b559416c8fdaff9fe7729dcf",
36
36
  "version": "1"
37
37
  },
38
38
  {
@@ -47,9 +47,9 @@
47
47
  "description": "Rewrite non-file paths to path/index.html",
48
48
  "enabled": true,
49
49
  "expression": "(not ends_with(http.request.uri.path, \"/\") and not http.request.uri.path contains \".\" and http.host eq \"pyrossh.dev\")",
50
- "id": "43bfba781cd5484e8ae2eb287dde1acf",
50
+ "id": "8534474241ca4d52bf74a6a079acb52d",
51
- "last_updated": "2026-05-14T05:52:14.862326Z",
51
+ "last_updated": "2026-05-15T05:38:13.541986Z",
52
- "ref": "43bfba781cd5484e8ae2eb287dde1acf",
52
+ "ref": "8534474241ca4d52bf74a6a079acb52d",
53
53
  "version": "1"
54
54
  },
55
55
  {
@@ -64,14 +64,14 @@
64
64
  "description": "Rewrite /files/ paths with extension to append /index.html",
65
65
  "enabled": true,
66
66
  "expression": "(http.request.uri.path contains \"/files/\" and http.request.uri.path contains \".\" and not ends_with(http.request.uri.path, \"/\") and http.host eq \"pyrossh.dev\")",
67
- "id": "e7e715d4b8c64e339a3bb2544ba33f4e",
67
+ "id": "c0458fba18a54f998295b3bc7d34b5f6",
68
- "last_updated": "2026-05-14T05:53:27.98801Z",
68
+ "last_updated": "2026-05-15T05:38:13.541986Z",
69
- "ref": "e7e715d4b8c64e339a3bb2544ba33f4e",
69
+ "ref": "c0458fba18a54f998295b3bc7d34b5f6",
70
70
  "version": "1"
71
71
  }
72
72
  ],
73
- "lastUpdated": "2026-05-14T05:53:27.98801Z",
73
+ "lastUpdated": "2026-05-15T05:38:13.541986Z",
74
- "version": "9"
74
+ "version": "15"
75
75
  },
76
76
  "props": {
77
77
  "zone": {
alchemy.run.ts CHANGED
@@ -81,12 +81,11 @@ const rewriteRules = await Ruleset(`rewrite-rules-${app.stage}`, {
81
81
  ],
82
82
  });
83
83
 
84
- // Website (static site deployed to Cloudflare Workers with assets)
85
- // await $`bun run build:resume:pdf`;
84
+ await $`bun run build:resume:pdf`;
86
- // await $`bun run build:resume:svg`;
85
+ await $`bun run build:resume:svg`;
87
- // await $`rm -rf dist`;
86
+ await $`rm -rf dist`;
88
- // await $`bun run build`;
87
+ await $`bun run build`;
89
- // await $`rclone sync --interactive dist r2:${websiteBucket.name}`;
88
+ await $`rclone sync -P dist r2:${websiteBucket.name}`;
90
- // await $`rm -rf dist`;
89
+ await $`rm -rf dist`;
91
90
 
92
91
  await app.finalize();