Skip to content

Commit af3c2e3

Browse files
committed
Enhance Docker workflows with additional logging and path checks before executing push script
1 parent 38123d8 commit af3c2e3

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/docker-image.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,7 @@ jobs:
2727
echo "npm version $(npm -v)" &&
2828
npm i -g zx@latest && echo "zx version $(zx -v)" &&
2929
curl -fsSL https://bun.sh/install | bash &&
30-
bun run ./push.mjs
30+
ls -lash /home/runner/.bun &&
31+
ls -lash /home/runner/.bun/bin &&
32+
ls -lash /home/runner/work &&
33+
/home/runner/.bun/bin/bun run ./push.mjs

.github/workflows/prod.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ jobs:
1212
uses: actions/checkout@v4
1313

1414
- name: Deploy to Docker Hub Production
15-
run: docker run --rm -v ./:/app nozich/bunode:latest zsh -c "bun run push.mjs"
15+
run:
16+
ls -lash &&
17+
docker run --rm -v ./:/app nozich/bunode:latest zsh -c "ls -lash && bun run ./push.mjs"

0 commit comments

Comments
 (0)