This commit is contained in:
parent
f71e88b234
commit
2a08e687f6
17
.drone.yml
17
.drone.yml
@ -13,3 +13,20 @@ steps:
|
|||||||
from_secret: gitea_packpub_password
|
from_secret: gitea_packpub_password
|
||||||
registry: git.simponic.xyz
|
registry: git.simponic.xyz
|
||||||
repo: git.simponic.xyz/simponic/penguin-new-tab
|
repo: git.simponic.xyz/simponic/penguin-new-tab
|
||||||
|
- name: ssh
|
||||||
|
image: appleboy/drone-ssh
|
||||||
|
settings:
|
||||||
|
host: ryo.simponic.xyz
|
||||||
|
username: root
|
||||||
|
key:
|
||||||
|
from_secret: cd_ssh_key
|
||||||
|
port: 22
|
||||||
|
command_timeout: 2m
|
||||||
|
script:
|
||||||
|
- systemctl restart docker-compose@whois
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
@ -57,7 +57,7 @@ export default function UpdateChart() {
|
|||||||
<div className="glass rounded-lg p-6 shadow-lg">
|
<div className="glass rounded-lg p-6 shadow-lg">
|
||||||
<div className="flex justify-center items-center mb-8">
|
<div className="flex justify-center items-center mb-8">
|
||||||
<h2 className="text-4xl font-bold">
|
<h2 className="text-4xl font-bold">
|
||||||
{greet(data.whois ? data.whois[0].name : "Friend", new Date())}
|
{greet(data.whois?.at(-1)?.name ?? "Friend", new Date())}
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user