From dc0969d1751a5f2740a5bf6e98ec7afabc295fb6 Mon Sep 17 00:00:00 2001 From: Ivan Li Date: Sun, 10 Sep 2023 11:29:01 +0000 Subject: [PATCH] =?UTF-8?q?build(ci):=20=E4=BF=AE=E5=A4=8D=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-and-deploy-by-ftp.yaml | 1 + components/Image.tsx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-deploy-by-ftp.yaml b/.github/workflows/build-and-deploy-by-ftp.yaml index fd13791..58c8e49 100644 --- a/.github/workflows/build-and-deploy-by-ftp.yaml +++ b/.github/workflows/build-and-deploy-by-ftp.yaml @@ -29,5 +29,6 @@ jobs: server: ${{ secrets.ftp_server }} username: ${{ secrets.ftp_username }} password: ${{ secrets.ftp_password }} + protocol: ftp server-dir: ./WEB/ local-dir: ./out/ diff --git a/components/Image.tsx b/components/Image.tsx index d5022ca..7ac5569 100644 --- a/components/Image.tsx +++ b/components/Image.tsx @@ -1,5 +1,5 @@ -import NextImage, { ImageProps } from 'next/image'; +import { Attributes } from 'react'; -const Image = ({ ...rest }: ImageProps) => ; +const Image = ({ ...rest }: Attributes) => ; export default Image;