debug: download .next to apps/web/.next, add ls debug step
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user