Skip to content

Commit

Permalink
chore: prod 배포 되도록 트리거 다시 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeon0208 committed Oct 10, 2024
1 parent 6468bbd commit 1ad75e3
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/backend-cd-prod.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
name: backend-cd-prod

on:
pull_request:
branches:
- 'release-be/**'
types:
- closed
push:
- feature/646
# pull_request:
# branches:
# - 'release-be/**'
# types:
# - closed

env:
DOCKERHUB_REPOSITORY: ody-official
DOCKER_CONTAINER_NAME: ody-prod-app

jobs:
build-and-push:
if: github.event.pull_request.merged == true
# if: github.event.pull_request.merged == true
runs-on: ubuntu-latest

defaults:
Expand All @@ -22,8 +24,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
ref: main
# with:
# ref: main

- name: Set up JDK 17
uses: actions/setup-java@v4
Expand Down

0 comments on commit 1ad75e3

Please sign in to comment.