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

GitHub Action

FTP Deployer

v1.1

FTP Deployer

upload-cloud

FTP Deployer

Simple SFTP / FTP deployment with NodeJS

Installation

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

              

- name: FTP Deployer

uses: sand4rt/ftp-deployer@v1.1

Learn more about this action in sand4rt/ftp-deployer

Choose a version

GitHub action - FTP deployer

Fast nodejs ftp deployment with github actions.

Example

- name: FTP Deployer
  uses: sand4rt/ftp-deployer@v1.1
  with:
    # FTP host URL like: ftp.host.com
    host: ${{ secrets.FTP_HOST }}
    # FTP port default is: 21
    port: 21 # optional
    # Ftp username
    username: ${{ secrets.FTP_USERNAME }}
    # Ftp password
    password: ${{ secrets.FTP_PASSWORD }}
    # The remote folder location of your FTP server
    remote_folder: ${{ secrets.FTP_REMOTE_FOLDER }} # optional
    # The local folder location
    local_folder: dist # optional, default is dist
    # Remove existing files inside FTP remote folder
    cleanup: false # optional
    include: '' # optional
    exclude: # optional
      - node_modules/**
      - node_modules/**/.*
      - .git/**
      - *.env
    pasive: true # optional