1.0.1 • Published 6 years ago
deploy-terminal v1.0.1
deploy-terminal
Deploy FTP using the Terminal.
Start:
- Install with
npm i -g deploy-terminal - Run in the terminal after build your project or add in the build script in package.json
deploy -d diretory -r root_diretory -h host -u user -w "password" -p port-d :Diretory String-r :Root FTP String-h :Host String-u :User String-w :Password String-p :Port String You can create fileftp.jsonin the root project and ignore credentials.
Ex:
deploy -d dist -r project_path/other -h admin.domain.com -u admin@domain.com -w "123456" -p 21