Update .gitea/workflows/deploy.yaml

This commit is contained in:
2025-11-22 00:40:55 +08:00
parent 982a61ddc8
commit 0101bc8ad1

View File

@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
container: container:
volumes: volumes:
- /app:/app - /app/lighttpd-content:/app/xsy-www
steps: steps:
- name: Checkout code - name: Checkout code
@@ -26,7 +26,7 @@ jobs:
# 如果目录不存在,报错并退出当前步骤 # 如果目录不存在,报错并退出当前步骤
exit 1 exit 1
fi fi
ls -lha /app/ ls -lha /app/xsy-www/
cp -r ./dist/* /app/xsy-www/ cp -r ./dist/* /app/xsy-www/
- name: Find and restart the app container - name: Find and restart the app container