From f875ea80373a54ae4c66da5919eec5a64e5a6c06 Mon Sep 17 00:00:00 2001 From: AHMAD ALSULAILI Date: Tue, 10 Jun 2025 01:01:51 +0200 Subject: [PATCH] this is a test git --- README.md | 2 ++ config.toml | 4 ++++ content/posts/my-first-post.md | 6 ++++++ nixpacks.toml | 8 ++++---- 4 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 config.toml create mode 100644 content/posts/my-first-post.md diff --git a/README.md b/README.md index e69de29..2aab2ed 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,2 @@ +# Hugo + Coolify Starter Site +This site is ready to deploy on Coolify using Nixpacks. \ No newline at end of file diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..f659fa8 --- /dev/null +++ b/config.toml @@ -0,0 +1,4 @@ +baseURL = "/" +languageCode = "en-us" +title = "Hugo + Coolify" +theme = "ananke" diff --git a/content/posts/my-first-post.md b/content/posts/my-first-post.md new file mode 100644 index 0000000..816dd5e --- /dev/null +++ b/content/posts/my-first-post.md @@ -0,0 +1,6 @@ +--- +title: "My First Post" +date: 2025-06-08T00:00:00Z +--- + +Hello from Coolify + Hugo! \ No newline at end of file diff --git a/nixpacks.toml b/nixpacks.toml index 519d78b..105c5a2 100644 --- a/nixpacks.toml +++ b/nixpacks.toml @@ -4,8 +4,8 @@ aptPkgs = ["hugo"] [phases.build] cmds = ["hugo --minify"] -[environment] -HUGO_VERSION = "0.112.3" +[start] +cmd = "echo 'Static site - no server needed'" -[[nixpacks.included_files]] -paths = ["/public"] +[variables] +HUGO_VERSION = "0.121.2"