Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
upload

GitHub Action

Simple File Upload

v1.1.0

Simple File Upload

upload

Simple File Upload

Perform a simple file transfer using FTP

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Simple File Upload

uses: nerdoza/[email protected]

Learn more about this action in nerdoza/action-simple-file-upload

Choose a version

GitHub Action Simple File Transfer

This action performs a simple single file transfer using FTP.

Usage

- name: Upload bundle
  uses: bayssmekanique/action-simple-file-upload@v1
  with:
    user: ${{ secrets.USER }}
    password: ${{ secrets.PASSWORD }}
    host: ${{ secrets.HOST }}
    src: ./dist/bundle-${{ steps.check.outputs.version }}.zip
    dest: archive/${{ steps.check.outputs.version }}/bundle.zip

Inputs

user

Required The FTP user name. (recommended to store in Secrets)

password

Required The FTP password. (recommended to store in Secrets)

host

Required The hostname or IP address of the FTP server.

port

Optional The FTP port of the server. (Default: 21)

src

Required The path to the file to upload.

dest

Required Destination file path on FTP remote server. (can change file name)

Copyright and License

© 2020 Zachary Cardoza under the MIT license.