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