https://github.com/dmoosocool/deploy
nodejs ssh node-ssh remote-shell
https://github.com/dmoosocool/deploy
node-ssh remote-shell ssh
Last synced: 2 months ago
JSON representation
nodejs ssh node-ssh remote-shell
- Host: GitHub
- URL: https://github.com/dmoosocool/deploy
- Owner: dmoosocool
- Created: 2021-05-11T07:02:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-19T02:28:35.000Z (over 2 years ago)
- Last Synced: 2025-10-11T03:08:09.217Z (3 months ago)
- Topics: node-ssh, remote-shell, ssh
- Language: TypeScript
- Homepage:
- Size: 270 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Security: SECURITY.md
Awesome Lists containing this project
README
## fast-deploy
1. 使用 `getEnvData` 读取项目配置信息
2. 使用 `loadConfigFromEnv` 读取具体需要发布环境的信息.
3. 使用 `packageFolder` 将上传目录压缩成 zip 包.
4. 使用 `generateIncrementalPackage` 将两个资源包生成增量包进行上传.
5. 使用 `uploadFile` 将 zip 包上传至服务器.
6. 使用 `uploadFile` 上传 shell 脚本用于在服务器端解压 zip 资源包以及重启 nginx 服务.
7. 使用 `runRemoteShell` 在远端执行 shell 脚本.