远程部署工具
Go to file
2023-03-19 16:07:00 +08:00
.gitignore update .gitignore to ignore *.gitignore.* instead of envar-*.gitignore.js 2023-03-11 08:27:14 +08:00
deploy.js log with current time 2023-03-19 16:07:00 +08:00
package.json rename libraries 'basend-*' to 'wo-base-*', 'corend-*' to 'wo-core-*', 'usend-*' to 'wo-user-*' 2022-08-17 08:59:35 +08:00
README.md u 2022-07-21 09:08:14 +08:00
seafile-ignore.txt update .gitignore to ignore *.gitignore.* instead of envar-*.gitignore.js 2023-03-11 08:27:14 +08:00

参数

  • -t, --type: web(默认) 或 git
    • 如果是 git
    • 如果是 web
      • -H, --host: 远程主机
      • -P, --port: 远程端口,默认为 22
      • -D, --dir: 远程路径,例如 /home/USER/FOLDER
      • -d, --dist: 远程文件夹,例如 www。默认为 dist。
  • -l, --local: 本地路径,例如 ../../project/public。默认为 ./dist
  • -u, --user: 用户名
  • -p, --password: 密码
  • -k, --privateKey: 密钥文件