Skip to content

Commit

Permalink
refactor: Pull request가 closed 되면 스크립트가 실행되도록 복구
Browse files Browse the repository at this point in the history
  • Loading branch information
suyoungj committed Jul 26, 2023
1 parent 310320b commit 3d57929
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/frontend-cd.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
name: frontend-cd

on:
push
#pull_request:
#types:
# - closed
#branches: ['develop']
# paths:
# - 'frontend/**'
pull_request:
types:
- closed
branches: ['develop']
paths:
- 'frontend/**'

defaults:
run:
Expand All @@ -18,7 +17,7 @@ permissions:

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

steps:
Expand Down

0 comments on commit 3d57929

Please sign in to comment.