
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
sdeploy-cli
Advanced tools
A light development tool using SCP,SFTP and RSync
# install the cli globally with yarn (Preferred Way)
yarn global add sdeploy-cli
# install the cli globally with npm (Leagcy Way)
npm install -g sdeploy-cli
# install the cli locally with yarn (Preferred Way, for single project, only can use with npm script)
yarn add sdeploy-cli
# install the cli locally with npm (Leagcy Way, for single project, only can use with npm script)
npm install sdeploy-cli
# Standard CLI
sdeploy .
# Deploy current directory with local config
sdeploy . -c ./config.json
# Deploy "./dist" to local config "Aliyun" "/data/www" directory , run 'echo "Hello World!"' before upload
sdeploy ./dist Aliyun -r /data/www -c ./config.json -p "echo \"Hello World!\""
Local Directory: ~/static Server Address: 123.45.67.8 Server Username: noah Server Directory: ~/static/html
$ yarn global add sdeploy-cli
$ sdeploy ~/static -n
# Use Add Config Option
Current config location: /Users/noah/Library/Preferences/sdeploy-nodejs/config.json
? What's config you want to select? Add Config
? What's config name? RemoteConfig
? What's driver you want to select? RSyncDriver
? What's remote server address? 123.45.67.8
? What's remote server user? noah
? What's remote server rootpath? ~/
? What's upload driver argument? -r -l --progress --delete --force
[Success] Added Remote Config
'
$ sdeploy ~/static RemoteConfig -r static/html
Local Directory: ./dist Server Address: 123.45.67.8 Server Username: noah Server Directory: ~/static/html
$ yarn global add sdeploy
$ sdeploy ./dist -n
# Use Add Config Option
Current config location: /Users/noah/Library/Preferences/sdeploy-nodejs/config.json
? What's config you want to select? Add Config
? What's config name? RemoteConfig
? What's driver you want to select? RSyncDriver
? What's remote server address? 123.45.67.8
? What's remote server user? noah
? What's remote server rootpath? ~/
? What's upload driver argument? -r -l --progress --delete --force
[Success] Added Remote Config
'
$ sdeploy ./dist RemoteConfig -r static/html
You can use local installation instead of globally:
yarn add sdeploy-cli
./node_modules/.bin/sdeploy ./dist -c ./config.json -n # Add config on project dir
And edit package.json "script" to:
...
{
"scripts": {
"deploy": "sdeploy ./dist -c ./config.json -p \"node build/build.js\"",
"deploy:nobuild": "sdeploy ./dist -c ./config.json"
}
}
...
GPLv3
FAQs
A light development tool using SCP,SFTP and RSync
The npm package sdeploy-cli receives a total of 0 weekly downloads. As such, sdeploy-cli popularity was classified as not popular.
We found that sdeploy-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.