0.0.1 • Published 3 months ago
deploy-webpage v0.0.1
Deploy Cli
Description
Deploy your static website by one line command
Installation
Install with npm
npm install deploy-webpage --save-dev
# or
yarn add deploy-webpage --dev
# or
pnpm i deploy-webpage --save-dev
Usage :
- init project
deploy-webpage init
- config deploy.dev.conf/deploy.pro.conf
use password
{
"name": "project name",
"host": "Hostname or IP address of the server",
"port": "Port number of the server",
"username": "Username for authentication",
"password": "Local path to password",
"remotePath": "Remote path",
"dist": "local path"
}
use privateKey
{
"name": "project name",
"host": "Hostname or IP address of the server",
"port": "Port number of the server",
"username": "Username for authentication",
"privateKey": "Local path to privateKey"
"remotePath": "Remote path",
"dist": "local path"
}
- deploy
npm run deploy:pre/pro
0.0.1
3 months ago