debug: download .next to apps/web/.next, add ls debug step
CI / typecheck + build (push) Canceled after 0s
CI / deploy to VPS (push) Canceled after 0s

This commit is contained in:
asepharyana
2026-08-21 12:32:02 +07:00
parent 16f0023097
commit d38e5cc583
+7 -3
View File
@@ -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