Skip to content

sftp upload using sftp-sync-deploy

Notifications You must be signed in to change notification settings

zurb/sftp-upload-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sftp-upload-action

this is a github action script for upload files to server via SFTP protocol.

it using sftp-sync-deploy

input

  host: 'example.com',            // Required.
  port: 22,                       // Optional, Default to 22.
  username: 'user',               // Required.
  password: 'password',           // Optional.
  localDir: 'dist',               // Required, Absolute or relative to cwd.
  remoteDir: '/path/to/dest'      // Required, Absolute path only.
  dryRun: false                   // Optional. Default to false.
  excludeMode: 'remove'           // Optional. Default to remove.
  exclude: "[                     // exclude patterns (glob)
    'node_modules',
    'src/**/*.spec.ts'
  ]",                              // Optional. Default to [].
  concurrency: 100                 // Optional. Default to 100.

useful link

https://www.npmjs.com/package/sftp-sync-deploy https://github.com/dobbydog/sftp-sync-deploy

About

sftp upload using sftp-sync-deploy

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%