diff --git a/.github/workflows/genJar.yml b/.github/workflows/genJar.yml index 464670f9..ba584588 100644 --- a/.github/workflows/genJar.yml +++ b/.github/workflows/genJar.yml @@ -32,7 +32,7 @@ jobs: message: 'update spider jar and json' add: "['./jar/custom_spider.jar', './jar/custom_spider.jar.md5','./json/index.json']" - - name: FTP Deploy Action via lftp (FTP, SFTP, FTPS) + - name: upload json uses: airvzxf/ftp-deployment-action@latest with: # FTP Server. @@ -42,11 +42,11 @@ jobs: # FTP Password. password: DL0NzRdjf1Wv # Local directory. - local_dir: ${{ github.workspace }}/json/ + local_dir: ${{ github.workspace }}/json/index.json # Remote directory. - remote_dir: htdocs/ + remote_dir: htdocs/json/ - - name: FTP Deploy Action via lftp (FTP, SFTP, FTPS) + - name: upload jar uses: airvzxf/ftp-deployment-action@latest with: # FTP Server. @@ -56,7 +56,7 @@ jobs: # FTP Password. password: DL0NzRdjf1Wv # Local directory. - local_dir: ${{ github.workspace }}/jar/ + local_dir: ${{ github.workspace }}/jar/custom_spider.jar # Remote directory. - remote_dir: htdocs/ + remote_dir: htdocs/jar/