action
This commit is contained in:
parent
4f56a6f6d7
commit
5dd19bc9e9
|
|
@ -33,30 +33,48 @@ jobs:
|
||||||
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: upload json
|
- name: upload json
|
||||||
uses: airvzxf/ftp-deployment-action@latest
|
uses: SamKirkland/FTP-Deploy-Action@v4.3.6
|
||||||
with:
|
with:
|
||||||
# FTP Server.
|
# ftp server
|
||||||
server: ftpupload.net
|
server: ftpupload.net
|
||||||
# FTP User.
|
# ftp username
|
||||||
user: mseet_40633048
|
username: mseet_40633048
|
||||||
# FTP Password.
|
# ftp password
|
||||||
password: DL0NzRdjf1Wv
|
password: DL0NzRdjf1Wv
|
||||||
# Local directory.
|
# Server port to connect to (read your web hosts docs)
|
||||||
local_dir: ${{ github.workspace }}/json/
|
port: 21
|
||||||
# Remote directory.
|
# protocol to deploy with - ftp, ftps, or ftps-legacy
|
||||||
remote_dir: htdocs/json/
|
protocol: ftp
|
||||||
|
# Folder to upload from, must end with trailing slash /
|
||||||
|
local-dir: ${{ github.workspace }}/json/
|
||||||
|
# Path to upload to on the server. Must end with trailing slash /
|
||||||
|
server-dir: htdocs/json/
|
||||||
|
# Deletes ALL contents of server-dir, even items in excluded with exclude argument
|
||||||
|
dangerous-clean-slate: true
|
||||||
|
exclude: |
|
||||||
|
**/js/**
|
||||||
|
|
||||||
- name: upload jar
|
- name: upload jar
|
||||||
uses: airvzxf/ftp-deployment-action@latest
|
uses: SamKirkland/FTP-Deploy-Action@v4.3.6
|
||||||
with:
|
with:
|
||||||
# FTP Server.
|
# ftp server
|
||||||
server: ftpupload.net
|
server: ftpupload.net
|
||||||
# FTP User.
|
# ftp username
|
||||||
user: mseet_40633048
|
username: mseet_40633048
|
||||||
# FTP Password.
|
# ftp password
|
||||||
password: DL0NzRdjf1Wv
|
password: DL0NzRdjf1Wv
|
||||||
# Local directory.
|
# Server port to connect to (read your web hosts docs)
|
||||||
local_dir: ${{ github.workspace }}/jar/
|
port: 21
|
||||||
# Remote directory.
|
# protocol to deploy with - ftp, ftps, or ftps-legacy
|
||||||
remote_dir: htdocs/jar/
|
protocol: ftp
|
||||||
|
# Folder to upload from, must end with trailing slash /
|
||||||
|
local-dir: ${{ github.workspace }}/jar/
|
||||||
|
# Path to upload to on the server. Must end with trailing slash /
|
||||||
|
server-dir: htdocs/jar/
|
||||||
|
# Deletes ALL contents of server-dir, even items in excluded with exclude argument
|
||||||
|
dangerous-clean-slate: true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue