Skip to content

Commit

Permalink
Merge pull request #646 from peer-42seoul/wochae-patch-2
Browse files Browse the repository at this point in the history
[Fix] : 배포 지정 대상 수정 #643
  • Loading branch information
wochae authored Jan 19, 2024
2 parents 1308056 + 1f56988 commit 4084ec3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
run: ./gradlew test

deploy-dev:
if: (github.event_name == 'repository_dispatch' && github.event.action == 'resources_update') || (github.ref == 'refs/heads/dev' && (github.event.pull_request.merged == true || github.event_name == 'push'))
if: (github.ref == 'refs/heads/dev' && (github.event.pull_request.merged == true || github.event_name == 'push'))
needs: build
runs-on: ubuntu-latest

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:
branches: [ "main", "dev" ]
types: [ "opened", "reopened", "synchronize", "closed" ]
# workflow_call:


permissions:
contents: read
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
run: ./gradlew test

deploy-dev:
if: github.ref == 'refs/heads/test' && (github.event.pull_request.merged == true || github.event_name == 'push')
if: (github.event_name == 'repository_dispatch' && github.event.action == 'resources_update') || (github.ref == 'refs/heads/dev' && (github.event.pull_request.merged == true || github.event_name == 'push'))
needs: build
runs-on: ubuntu-latest

Expand Down

0 comments on commit 4084ec3

Please sign in to comment.