File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 8989 fi
9090 set -euo pipefail
9191 {
92- pnpm run gen:changelog
92+ pnpm run gen:changelog --if-present
9393 pnpm -C apps/docs build
9494 } 2>&1 | tee docs-build.log
9595
@@ -147,7 +147,17 @@ jobs:
147147 run : |
148148 PORT="${DOCS_DEPLOY_PORT:-22}"
149149 TARGET_DIR="${{ steps.target_path.outputs.TARGET_DIR }}"
150- rsync -az --delete -e "ssh -p $PORT" apps/docs/.vitepress/dist/ "$DOCS_DEPLOY_USER@$DOCS_DEPLOY_HOST:$TARGET_DIR/"
150+ rsync -az --delete --timeout=120 --info=progress2 -e "ssh -p $PORT" apps/docs/.vitepress/dist/ "$DOCS_DEPLOY_USER@$DOCS_DEPLOY_HOST:$TARGET_DIR/"
151+
152+ - name : Print remote dist summary
153+ env :
154+ DOCS_DEPLOY_HOST : ${{ secrets.DOCS_DEPLOY_HOST }}
155+ DOCS_DEPLOY_PORT : ${{ secrets.DOCS_DEPLOY_PORT }}
156+ DOCS_DEPLOY_USER : ${{ secrets.DOCS_DEPLOY_USER }}
157+ run : |
158+ PORT="${DOCS_DEPLOY_PORT:-22}"
159+ TARGET_DIR="${{ steps.target_path.outputs.TARGET_DIR }}"
160+ ssh -p "$PORT" "$DOCS_DEPLOY_USER@$DOCS_DEPLOY_HOST" "hostname; ls -la '$TARGET_DIR' | head -n 30; du -sh '$TARGET_DIR' || true"
151161
152162 - name : Verify remote artifacts
153163 env :
You can’t perform that action at this time.
0 commit comments