From 4c71e29773252ccb2bf17b5f43d3b92c00c5471c Mon Sep 17 00:00:00 2001 From: Kim Dong Hyun <98632435+DDonghyeo@users.noreply.github.com> Date: Thu, 23 May 2024 18:29:15 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9Ddocs=20:=20ci.yml=20Complete?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17f4330c..8be6819b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,12 +1,10 @@ name: Backend CI on: - push: - # pull_request: + pull_request: branches: - prod - develop - - cicd/#61 jobs: build-test: @@ -32,8 +30,7 @@ jobs: - name: Build with Gradle - config run: | cd config-service - ./gradlew clean build -x test |& tee config-build.log - cat config-build.log + ./gradlew clean build -x test env: CONFIG_GIT_URI: ${{ secrets.CONFIG_GIT_URI }} CONFIG_PASSPHRASE: ${{ secrets.CONFIG_PASSPHRASE }} @@ -50,20 +47,17 @@ jobs: - name: Build with Gradle - noti-service run: | cd noti-service - ./gradlew clean build -x test |& tee noti-build.log - cat noti-build.log + ./gradlew clean build -x test cd .. - name: Build with Gradle - user-service run: | cd user-service - ./gradlew clean build -x test |& tee user-build.log - cat user-build.log + ./gradlew clean build -x test cd .. - name: Build with Gradle - weather-service run: | cd weather-service - ./gradlew clean build -x test |& tee user-build.log - cat user-build.log + ./gradlew clean build -x test cd ..