From 69132f9db9bec93a333be8ab17ef32840fff9dcf Mon Sep 17 00:00:00 2001 From: HyungJoon Date: Wed, 4 Dec 2024 22:18:52 +0900 Subject: [PATCH] fix: Directory Path Error --- .github/workflows/api-server.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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