Skip to content

Commit

Permalink
fix: If Condition In Yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
HyungJoonSon committed Dec 4, 2024
1 parent abd33b8 commit a11ddd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/api-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,18 @@ jobs:
### Docker Image Build and Push
- name: Login to Docker Hub
# if: github.event.pull_request.merged == true
if: github.event.pull_request.merged == true
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set up Docker Buildx
# if: github.event.pull_request.merged == true
if: github.event.pull_request.merged == true
uses: docker/setup-buildx-action@v2

- name: Build and push
# if: github.event.pull_request.merged == true
if: github.event.pull_request.merged == true
uses: docker/build-push-action@v4
with:
context: .
Expand Down

0 comments on commit a11ddd3

Please sign in to comment.