+
+ {(['kuma', 'deploys'] as const).map(t => (
+
+ ))}
+
+
+ {tab === 'kuma' && (
+
+ )}
+
+ {tab === 'deploys' && (
+
+
+
Deploy History
+
+
+
+ {deploys.length === 0 && !loading && (
+
+ No deploys recorded yet. Configure Forgejo webhooks to point to{' '}
+
+ https://manage.hotelnumberfour.com/deploy/webhook
+
+
+ )}
+
+ {deploys.map((d, i) => (
+
+
+ {d.repo}
+
+ {d.status}
+
+
+
+ {d.host} · started {new Date(d.started).toLocaleString()}
+ {d.finished && ` · finished ${new Date(d.finished).toLocaleString()}`}
+
+ {(d.output || d.error) && (
+
+ {d.output || d.error}
+
+ )}
+
+ ))}
+
+ )}
+