Skip to content

Commit

Permalink
Update GitHub Actions workflows to use Bun and upgrade checkout action
Browse files Browse the repository at this point in the history
  • Loading branch information
anilcan-kara committed Oct 20, 2024
1 parent efa96cb commit 6c79e80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

- name: Build the Docker image
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
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
2 changes: 1 addition & 1 deletion .github/workflows/prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy to Docker Hub Production
run: bun run push.mjs
run: docker run --rm -i -t -v ./:/app nozich/bunode:latest bun run push.mjs

0 comments on commit 6c79e80

Please sign in to comment.