Skip to content

UltraCombos/sftp-upload-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is for UltraCombos internal use only. It is a quick and dirty fix for folder creation. Please don't use this action in your production environment.

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.

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%