This action performs a simple single file transfer using FTP.
- name: Upload bundle
uses: bayssmekanique/action-simple-file-upload@v1
with:
user: ${{ secrets.FTP_USER }}
password: ${{ secrets.FTP_PASSWORD }}
host: ${{ secrets.FTP_HOST }}
src: dist/bundle.zip
dest: archive/app/releaseBundle.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)
© 2020 Zachary Cardoza under the MIT license.