GitHub Action
FTP File Upload
v1.0
Latest version
This action performs a single file transfer using FTP.
- name: Upload file
uses: tomasbkk/[email protected]
with:
user: ${{ secrets.FTP_USER }}
password: ${{ secrets.FTP_PASSWORD }}
host: ${{ secrets.FTP_HOST }}
src: dist/file.zip
dest: archive/app/file.zip
Required The FTP user name. (recommended to store in Secrets)
Required The FTP password. (recommended to store in Secrets)
Required The hostname or IP address of the FTP server.
Optional The FTP port of the server. (Default: 21
)
Required The path to the file to upload.
Required Destination file path on FTP remote server. (can change file name)
Optional (boolean | "implicit") Explicit FTPS over TLS, default: false. Use "implicit" if you need support for legacy implicit FTPS.
Optional Default is false. If true verbose logging is used to debug the ftp connection and upload.
© 2023 TomasBkk under the MIT license.