ci: 构建后自动部署 dist 到 test.shoux.net
build-and-deploy / build (push) Successful in 50s

This commit is contained in:
lzy
2026-07-24 01:43:57 +08:00
parent 71d0721290
commit dcebc1ec9c
+7
View File
@@ -25,6 +25,13 @@ jobs:
- name: Verify dist
run: ls -la dist/
# 部署到 test.shoux.netjob 容器挂载宿主 /var/www/test-shoux-net → /deploy
- name: Deploy to test.shoux.net
run: |
rm -rf /deploy/*
cp -r dist/. /deploy/
echo "[deploy] dist -> /deploy (host /var/www/test-shoux-net)"
- name: Install ossutil
run: |
curl -fsSL -o /tmp/ossutilinstall.sh https://gosspublic.alicdn.com/ossutil/install.sh