@@ -21,8 +21,9 @@ build:
# 更新部署到服务器
update: build
scp dist/main $(HOST):~/webp/main_new
ssh ${HOST} "mv ~/webp/main ~/webp/main_old"
scp dist/main $(HOST):~/webp/main
ssh ${HOST} "mv ~/webp/main_new ~/webp/main"
ssh ${HOST} "rm ~/webp/main_old"
rm -rf dist
The note is not visible to the blocked user.