Skip to content

Commit 6c79e80

Browse files
committed
Update GitHub Actions workflows to use Bun and upgrade checkout action
1 parent efa96cb commit 6c79e80

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/docker-image.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717

1818
- name: Docker Hub Login
1919
run: docker login -u nozich --password ${{secrets.DOCKER_ACCESS_TOKEN}}
2020

2121
- name: Build the Docker image
22-
run: pwd && ls -lash && whoami && echo "node version $(node -v)" && echo "npm version $(npm -v)" && npm i -g zx@latest && echo "zx version $(zx -v)" && zx ./push.mjs
22+
run: pwd && ls -lash && whoami && echo "node version $(node -v)" && echo "npm version $(npm -v)" && npm i -g zx@latest && echo "zx version $(zx -v)" && 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: bun run push.mjs
15+
run: docker run --rm -i -t -v ./:/app nozich/bunode:latest bun run push.mjs

0 commit comments

Comments
 (0)