Skip to content

Commit fa5035f

Browse files
author
marci
committed
Entferne Go-Installation aus dem Build-Skript und korrigiere die URL für die Hugo-Installation; aktualisiere das Datumsformat in der wrangler.toml
1 parent 174ed9c commit fa5035f

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

build.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ main() {
1414

1515
DART_SASS_VERSION=1.89.2
1616
HUGO_VERSION=0.148.1
17-
GO_VERSION=1.24.4
1817

1918
export TZ=Europe/Oslo
2019

@@ -25,15 +24,10 @@ main() {
2524
cp -r dart-sass/ /opt/buildhome
2625
rm -rf dart-sass*
2726

28-
# Install Go
29-
echo "Installing Go v${GO_VERSION}..."
30-
curl -LJO "https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz"
31-
tar -xf "go${GO_VERSION}.linux-amd64.tar.gz" -C /opt
32-
rm "go${GO_VERSION}.linux-amd64.tar.gz"
3327

3428
# Install Hugo
3529
echo "Installing Hugo v${HUGO_VERSION}..."
36-
curl -LJO https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz
30+
curl -LJO https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}-linux-amd64.tar.gz
3731
tar -xf "hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz"
3832
cp hugo /opt/buildhome
3933
rm LICENSE README.md hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz

wrangler.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name = "securebitsblog"
2-
comnpatibility-date = "2025-07-21"
1+
name = 'securebitsblog'
2+
comnpatibility_date = "2025-07-20"
33

44
[build]
55
command = "./build.sh"
66

77
[assets]
88
directory = "./public"
9-
not-found-handling = "404-page"
9+
not_found_handling = "404-page"

0 commit comments

Comments
 (0)