add deploy info
This commit is contained in:
@@ -24,6 +24,7 @@ export type Log = {
|
||||
time: string;
|
||||
message: string;
|
||||
error: string;
|
||||
info?: string[];
|
||||
};
|
||||
|
||||
export type DeploymentListReq = {
|
||||
|
||||
@@ -187,7 +187,7 @@ export default function Dashboard() {
|
||||
href="https://github.com/usual2970/certimate/releases"
|
||||
target="_blank"
|
||||
>
|
||||
Certimate v0.0.7
|
||||
Certimate v0.0.8
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -147,6 +147,14 @@ const History = () => {
|
||||
<div>[{item.time}]</div>
|
||||
<div className="ml-2">{item.message}</div>
|
||||
</div>
|
||||
{item.info &&
|
||||
item.info.map((info: string) => {
|
||||
return (
|
||||
<div className="mt-1 text-green-600">
|
||||
{info}
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
{item.error && (
|
||||
<div className="mt-1 text-red-600">
|
||||
{item.error}
|
||||
|
||||
Reference in New Issue
Block a user