From d38e5cc583ba3ba32d9f4060b636ca3d6b0ad4f2 Mon Sep 17 00:00:00 2001 From: asepharyana Date: Fri, 21 Aug 2026 12:32:02 +0700 Subject: [PATCH] debug: download .next to apps/web/.next, add ls debug step --- .github/workflows/ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a7ec459..e0c1636 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,13 +69,17 @@ jobs: uses: actions/download-artifact@v4 with: name: mcpedia-web-build - path: apps/web + path: apps/web/.next + + - name: List downloaded files + working-directory: apps/web + run: ls -la .next/ | head -10 # Tar .next on the runner (handles hidden files correctly), # then SCP the tarball to VPS and SSH to unpack + restart. - # VPS only receives + unpacks — no build step on the VPS. - name: Create deploy tarball - run: tar -C apps/web -czf mcpedia-web-next.tar.gz .next + working-directory: apps/web + run: tar -czf ../../mcpedia-web-next.tar.gz .next - name: Copy tarball to VPS uses: appleboy/scp-action@v1