Skip to content

Commit

Permalink
don't push docker img on pr
Browse files Browse the repository at this point in the history
  • Loading branch information
viet nguyen committed Dec 10, 2023
1 parent ac2cc89 commit 69836ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# deploy to staging by commiting to api-server-deployment repo
deploy-staging:
runs-on: ubuntu-22.04
# if: github.ref_name == 'develop' # Temporarily disable this
# if: github.ref_name == 'develop'
needs: docker
steps:
- name: 'Checkout Project'
Expand Down Expand Up @@ -67,6 +67,7 @@ jobs:
# build docker image and push to registry
docker:
runs-on: ubuntu-22.04
if: github.event_name != 'pull_request'
needs: test
steps:
- name: 'Checkout Project'
Expand Down

0 comments on commit 69836ce

Please sign in to comment.