Skip to content

Commit 38123d8

Browse files
committed
Refactor Docker workflows to streamline commands and improve deployment process
1 parent 181ba91 commit 38123d8

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/docker-image.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020

2121
- name: Build the Docker image
2222
run:
23-
pwd
24-
ls -lash
25-
whoami
26-
echo "node version $(node -v)"
27-
echo "npm version $(npm -v)"
28-
npm i -g zx@latest && echo "zx version $(zx -v)"
29-
curl -fsSL https://bun.sh/install | bash
23+
pwd &&
24+
ls -lash &&
25+
whoami &&
26+
echo "node version $(node -v)" &&
27+
echo "npm version $(npm -v)" &&
28+
npm i -g zx@latest && echo "zx version $(zx -v)" &&
29+
curl -fsSL https://bun.sh/install | bash &&
3030
bun run ./push.mjs

.github/workflows/prod.yaml

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

1414
- name: Deploy to Docker Hub Production
15-
run: docker run --rm -i -t -v ./:/app nozich/bunode:latest zsh -c "bun run push.mjs"
15+
run: docker run --rm -v ./:/app nozich/bunode:latest zsh -c "bun run push.mjs"

0 commit comments

Comments
 (0)