Skip to content

A module to sync files to remote server while you work on device or cloud platform of your choice like Glitch.

Notifications You must be signed in to change notification settings

animatedcreativity/node-remote-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

node-remote-deploy

A module to sync files to remote server while you work on device or cloud platform of your choice like Glitch.

Example config

new exports({
  connection: {
    host: "HOST",
    port: 22,
    username: "root",
    password: "PASSWORD",
    // privateKey: "/path/to/key.pem",
    // passphrase: "passphrase",
    localDir: "./",
    remoteDir: "/mnt/node/REMOTE/"
  },
  options: {
    exclude: [
      "node_modules",
      ".git",
      ".glitch-assets",
      "src/**/*.spec.ts",
      "shrinkwrap.yaml",
      ".bash_history",
      ".config",
      ".data",
      ".nano",
      ".node-gyp",
      ".ssh"
    ],
    excludeMode: 'ignore',
    forceUpload: false
  },
  uploaders: ["HOST_NAME_1", "HOST_NAME_2", function() { return __dirname === "/app"; }]
});

About

A module to sync files to remote server while you work on device or cloud platform of your choice like Glitch.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published