Skip to content

Commit

Permalink
chore: 테스트를 위한 트리거 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
eun-byeol committed Jan 3, 2025
1 parent 2247324 commit 863193b
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/backend-cd-prod-v2.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
name: backend-cd-prod-v2

on:
pull_request:
push:
# pull_request:
branches:
- main
types:
- closed
# - main
- feature/942
# 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/') || startsWith(github.event.pull_request.head.ref, 'hotfix-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:
Expand All @@ -24,8 +26,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 863193b

Please sign in to comment.