You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Simple File Upload
v1.0.2
This action performs a simple single file transfer using FTP.
- name: Upload bundle
uses: bayssmekanique/action-simple-file-upload@v1
with:
user: ${{ secrets.USER }}
password: ${{ secrets.PASSWORD }}
host: ${{ secrets.HOST }}
file: ./dist/bundle-${{ steps.check.outputs.version }}.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 relative to the project root.
Optional The path to the directory on the remote server to place the file. (Default: ./
)
© 2020 Zachary Cardoza under the MIT license.