From 949520f9b6cc580aee66a1e658a1394003f74d37 Mon Sep 17 00:00:00 2001 From: yubin-im <140530127+yubin-im@users.noreply.github.com> Date: Thu, 23 Nov 2023 15:28:43 +0900 Subject: [PATCH] Update 6 deploy.yml --- .github/workflows/deploy.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4c2130a..f046e96 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,9 +9,9 @@ name: Deploy-to-AWS-Elastic-Beanstalk on: push: - branches: - - master - workflow_dispatch: + branches: [ "master" ] + pull_request: + branches: [ "master" ] jobs: build: @@ -25,10 +25,7 @@ jobs: uses: actions/setup-java@v3 with: java-version: '11' - - - name: Grant execute permission for gradlew - run: chmod +x ./gradlew - shell: bash + distribution: 'temurin' - name: Build with Gradle run: ./gradlew clean build