Skip to content

eduardogalbiati/my-npm-ftp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my-npm-ftp

Install

  • Copy the env.json file

cp env.json.example env.json

  • Install dependencies

npm i

Usage

  • Fill the credentials and config on env.json
{
  "FTP_SERVER": "ftp.yourdomain.com",
  "FTP_USER": "user",
  "FTP_PASS": "password",
  "SYNC_LOCAL_FOLDER": "src/**",
  "SYNC_REMOTE_FOLDER": "/"
}

To add or ignore others folders separate it with a comma:
{
 "SYNC_LOCAL_FOLDER": "src/**, app/README.md, !src/test"
}

  • Run the command

gulp deploy

  • itworks.md should appear on remote folder under /src/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published