website
git clone https://git.pyrossh.dev/website
木 Personal website of pyrossh. Built with astrojs, shiki, vite.
9bd972a
— pyrossh
2026-08-05T11:13:28+05:30
update git bucket
- infra/main.tf +14 -0
- src/_includes/repo-layout.njk +1 -1
infra/main.tf
CHANGED
|
@@ -22,6 +22,20 @@ resource "cloudflare_r2_custom_domain" "website" {
|
|
|
22
22
|
enabled = true
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
|
|
26
|
+
resource "cloudflare_r2_bucket" "git" {
|
|
27
|
+
account_id = var.cloudflare_account_id
|
|
28
|
+
name = "git"
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
resource "cloudflare_r2_custom_domain" "git" {
|
|
32
|
+
account_id = var.cloudflare_account_id
|
|
33
|
+
bucket_name = cloudflare_r2_bucket.git.name
|
|
34
|
+
domain = "git.pyrossh.dev"
|
|
35
|
+
zone_id = var.cloudflare_zone_id
|
|
36
|
+
enabled = true
|
|
37
|
+
}
|
|
38
|
+
|
|
25
39
|
# Runs the Eleventy build on every `terraform apply`, before the sync below,
|
|
26
40
|
# so `terraform apply` alone is enough — no separate `npm run build` step
|
|
27
41
|
# needed first. Same "always re-run" trigger pattern as sync_website.
|
src/_includes/repo-layout.njk
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<h1><a href="/">~repos</a>/<span style="view-transition-name:repo-title-{{ title }}">{{ title }}</span></h1>
|
|
6
6
|
<div class="tags">{% for tag in tags %}<span class="tag">#{{ tag }}</span>{% endfor %}</div>
|
|
7
7
|
</div>
|
|
8
|
-
<h3>GIT_CONFIG_PARAMETERS="'http.version=HTTP/1.1'" git clone <a>https://git.pyrossh.dev/{{ title }}
|
|
8
|
+
<h3>GIT_CONFIG_PARAMETERS="'http.version=HTTP/1.1'" git clone <a>https://git.pyrossh.dev/{{ title }}</a></h3>
|
|
9
9
|
<div class="headerExtension"><h2>{{ desc }}</h2></div>
|
|
10
10
|
<hr />
|
|
11
11
|
<div class="nav">
|