Skip to content

Fast nodejs ftp deployment with github actions

License

Notifications You must be signed in to change notification settings

kopfwelt/ftp-deployer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub action - SFTP / FTP deployer

Fast nodejs ftp deployment with github actions.

Example

- name: FTP Deployer
  uses: sand4rt/[email protected]
  with:
    sftp: false # optional
    host: ${{ secrets.FTP_HOST }} # e.g. ftp.host.com or sftp.host.com (without ftp:// or ftps://)
    port: 21 # optional, default is: 21
    username: ${{ secrets.FTP_USERNAME }} # FTP username
    password: ${{ secrets.FTP_PASSWORD }} # FTP password
    remote_folder: ${{ secrets.FTP_REMOTE_FOLDER }} # optional, remote path of your FTP server
    local_folder: dist # optional, local path, default is: dist
    cleanup: false # optional, remove existing files inside FTP remote folder
    include: [] # optional, e.g. ['dist']
    exclude: [] # optional, e.g. ['node_modules/**', '.git/**', '*.env']
    pasive: true # optional

About

Fast nodejs ftp deployment with github actions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%