diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 32aa429..d0a27c8 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -63,8 +63,11 @@ jobs: - name: Prepare deploy artifact run: | + ls -la + test -d build || (echo "Missing build/ (SvelteKit output). Check Build step." && exit 1) mkdir -p deploy - cp -r build package.json bun.lockb deploy/ + cp -r build package.json deploy/ + (test -f bun.lock && cp bun.lock deploy/) || (test -f bun.lockb && cp bun.lockb deploy/) || true cd deploy && bun install --frozen-lockfile --production - name: Setup SSH known hosts