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;