use last updated name
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Elizabeth Hunt 2025-01-07 10:01:35 -08:00
parent f71e88b234
commit 2a08e687f6
2 changed files with 18 additions and 1 deletions

View File

@ -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

View File

@ -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>