This commit is contained in:
lushunming 2025-12-09 14:26:35 +08:00
parent cf427b4224
commit 5130a64ba6
1 changed files with 6 additions and 6 deletions

View File

@ -32,7 +32,7 @@ jobs:
message: 'update spider jar and json' message: 'update spider jar and json'
add: "['./jar/custom_spider.jar', './jar/custom_spider.jar.md5','./json/index.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 uses: airvzxf/ftp-deployment-action@latest
with: with:
# FTP Server. # FTP Server.
@ -42,11 +42,11 @@ jobs:
# FTP Password. # FTP Password.
password: DL0NzRdjf1Wv password: DL0NzRdjf1Wv
# Local directory. # Local directory.
local_dir: ${{ github.workspace }}/json/ local_dir: ${{ github.workspace }}/json/index.json
# Remote directory. # 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 uses: airvzxf/ftp-deployment-action@latest
with: with:
# FTP Server. # FTP Server.
@ -56,7 +56,7 @@ jobs:
# FTP Password. # FTP Password.
password: DL0NzRdjf1Wv password: DL0NzRdjf1Wv
# Local directory. # Local directory.
local_dir: ${{ github.workspace }}/jar/ local_dir: ${{ github.workspace }}/jar/custom_spider.jar
# Remote directory. # Remote directory.
remote_dir: htdocs/ remote_dir: htdocs/jar/