https://github.com/animatedcreativity/node-remote-deploy
A module to sync files to remote server while you work on device or cloud platform of your choice like Glitch.
https://github.com/animatedcreativity/node-remote-deploy
Last synced: 5 months ago
JSON representation
A module to sync files to remote server while you work on device or cloud platform of your choice like Glitch.
- Host: GitHub
- URL: https://github.com/animatedcreativity/node-remote-deploy
- Owner: animatedcreativity
- Created: 2020-11-11T07:24:29.000Z (over 5 years ago)
- Default Branch: glitch
- Last Pushed: 2020-11-11T10:20:40.000Z (over 5 years ago)
- Last Synced: 2024-04-24T13:10:50.947Z (about 2 years ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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"; }]
});
```