From 78036ab7394dd6cded6605e0fb0bb77700cb96be Mon Sep 17 00:00:00 2001 From: "D.Yang" Date: Wed, 15 May 2024 18:06:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 3 +-- src/components/PageTitle.astro | 28 ++++++++++++++-------------- src/components/SponsorBanner.svelte | 2 +- 3 files changed, 16 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cdb20aee..001c37fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,5 @@ jobs: host: ${{ secrets.ECS_HOST }} username: ${{ secrets.ECS_USERNAME }} password: ${{ secrets.ECS_PASSWORD }} - rm: true source: './dist/*' - target: '/var/www/html/' \ No newline at end of file + target: '/var/www/mybatis-plus-doc/' \ No newline at end of file diff --git a/src/components/PageTitle.astro b/src/components/PageTitle.astro index 0cd097d6..e0284975 100644 --- a/src/components/PageTitle.astro +++ b/src/components/PageTitle.astro @@ -1,33 +1,33 @@ --- -import type { Props } from '@astrojs/starlight/props'; +import type { Props } from "@astrojs/starlight/props"; import Default from "@astrojs/starlight/components/PageTitle.astro"; - --- - + -
+
diff --git a/src/components/SponsorBanner.svelte b/src/components/SponsorBanner.svelte index c009d20b..1e736ecd 100644 --- a/src/components/SponsorBanner.svelte +++ b/src/components/SponsorBanner.svelte @@ -20,7 +20,7 @@ } onMount(() => { - const interval = setInterval(updateCard, 4000); + const interval = setInterval(updateCard, 3000); return () => clearInterval(interval); });