diff --git a/.github/workflows/api-server.yaml b/.github/workflows/api-server.yaml index e7cbab8..d21692a 100644 --- a/.github/workflows/api-server.yaml +++ b/.github/workflows/api-server.yaml @@ -2,7 +2,12 @@ name: API Server CI/CD on: pull_request: - path: "server-api/**" + paths: + - "server-api/**" + paths-ignore: + - "client-app/**" + - "client-web/**" + - "client-api/**" branches: [ "dev" ] types: - opened @@ -49,12 +54,14 @@ jobs: ### gradlew 실행 권한 부여 - name: Grant execute Permission for gradlew run: | - chmod +x ./server-api/gradlew + cd ./server-api + chmod +x ./gradlew ### project build - name: Build with Gradle run: | - ./server-api/gradlew clean build -x test + cd ./server-api + ./gradlew clean build -x test ### Docker Image Build and Push - name: Login to Docker Hub