From 98b9af372025595e8a4255538e2836e019311474 Mon Sep 17 00:00:00 2001 From: bndw Date: Fri, 23 Jan 2026 20:54:46 -0800 Subject: Add deploy command and fix static site naming Static sites now default to using the domain as the name instead of the source directory basename, preventing conflicts when multiple sites use the same directory name (e.g., dist). Also fixes .gitignore to not exclude cmd/deploy/ directory. --- cmd/deploy/templates/webui.html | 440 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 440 insertions(+) create mode 100644 cmd/deploy/templates/webui.html (limited to 'cmd/deploy/templates/webui.html') diff --git a/cmd/deploy/templates/webui.html b/cmd/deploy/templates/webui.html new file mode 100644 index 0000000..052d599 --- /dev/null +++ b/cmd/deploy/templates/webui.html @@ -0,0 +1,440 @@ + + + + + + Deploy - Web UI + + + +
+

Deploy Web UI

+

Manage your VPS deployments

+
+ +
+ {{if not .Hosts}} +
+

No deployments found

+

Use the CLI to deploy your first app or static site

+
+ {{else}} + {{range .Hosts}} +
+
+

{{.Host}}

+
+
+ {{range .Apps}} +
+
+
{{.Name}}
+
{{.Type}}
+
+ +
+
Domain
+ +
+ + {{if eq .Type "app"}} +
+
Port
+
{{.Port}}
+
+ {{end}} + +
+ {{if eq .Type "app"}} + + {{end}} + + {{if .Env}} + + {{end}} +
+
+ {{end}} +
+
+ {{end}} + {{end}} + +
+ Refresh the page to see latest changes +
+
+ + + + + + + -- cgit v1.2.3