Github action to upload static directory of files to an FTP server
Required The FTP host.
Default: 21 FTP Port
Required FTP username
Required FTP password
Required Local directory to upload (relative to $GITHUB_WORKSPACE)
Required Remote directory on the FTP server (will be created if missing)
- name: FTP dir upload
uses: willfurstenau/ftp-dir-upload@v1
with:
host: ftp.myhost.com
user: ${{ secrets.FTP_USER }}
password: ${{ secrets.FTP_PASS }}
local-dir: ./dist
remote-dir: /public_html