Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 873 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 873 Bytes

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