diff --git a/scripts/README.md b/scripts/README.md new file mode 100644 index 0000000..bfd70e1 --- /dev/null +++ b/scripts/README.md @@ -0,0 +1,11 @@ +# scripts + +该目录下包含两个脚本。 + +## `deploy.sh` + +在服务端首次部署时使用,依赖 `nodejs`、`pnpm` 和 `pm2`。 + +## `update.sh` + +项目更新时使用,配合 `webhook` 实现自动化部署。 diff --git a/bin/deploy.sh b/scripts/deploy.sh similarity index 100% rename from bin/deploy.sh rename to scripts/deploy.sh diff --git a/bin/update.sh b/scripts/update.sh similarity index 100% rename from bin/update.sh rename to scripts/update.sh