Skip to content

Commit

Permalink
feat: always display logs after pocketenv up
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Aug 20, 2024
1 parent 5202600 commit 0458987
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
run: |
deno run -A --unstable-kv main.ts init -t tsirysndr/base-workspace
deno run -A --unstable-kv main.ts up
deno run -A --unstable-kv main.ts logs
docker ps
- name: Destroy
run: |
Expand Down
2 changes: 2 additions & 0 deletions src/cmd/up.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { existsSync } from "node:fs";
import { POCKETENV_CACHE_DIR } from "../consts.ts";
import { spawn } from "../lib.ts";
import * as workspaces from "../workspaces.ts";
import showLogs from "./logs.ts";

async function up(
{
Expand Down Expand Up @@ -70,6 +71,7 @@ async function up(
createdAt: result?.createdAt || new Date().toISOString(),
updatedAt: new Date().toISOString(),
});
await showLogs({ follow: false });
}

export default up;

0 comments on commit 0458987

Please sign in to comment.