Skip to content

Commit

Permalink
chore: cd prod v2 트리거 브랜치 main으로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
eun-byeol committed Nov 29, 2024
1 parent 74dbcf9 commit 1724c7b
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/backend-cd-prod-v2.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
name: backend-cd-prod-v2

#on:
# pull_request:
# branches:
# - main
# types:
# - closed
on:
push:
pull_request:
branches:
- hotfix/923
- main
types:
- closed

env:
DOCKERHUB_REPOSITORY: ody-official

jobs:
build-and-push:
# if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release-be/')
if: github.event.pull_request.merged == true && (startsWith(github.event.pull_request.head.ref, 'release-be/') || startsWith(github.event.pull_request.head.ref, 'hotfix-be/'))

runs-on: ubuntu-latest
env:
TZ: 'Asia/Seoul'
Expand All @@ -27,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 1724c7b

Please sign in to comment.