From 16f9e9a48c85e8d0e84b4b3c2e3b9556f34dd30a Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Thu, 14 Mar 2024 14:19:34 +0900 Subject: [PATCH] =?UTF-8?q?watchdog-fe:=20ci=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/watchdog-be-build.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/watchdog-be-build.yaml b/.gitea/workflows/watchdog-be-build.yaml index ef1a9df..53b3893 100644 --- a/.gitea/workflows/watchdog-be-build.yaml +++ b/.gitea/workflows/watchdog-be-build.yaml @@ -26,4 +26,7 @@ jobs: distribution: 'temurin' # See 'Supported distributions' for available options java-version: '21' - uses: gradle/actions/setup-gradle@v3 - - run: ./gradlew jib -Djib.to.image=git.usbharu.dev/usbharu/watchdog-be -Djib.to.auth.username=usbharu -Djib.to.auth.password=${{ secrets.DEPLOY_TOKEN }} \ No newline at end of file + - uses: ./gradlew jibBuildTar + if: github.event.pull_request.merged == false + - run: ./gradlew jib -Djib.to.image=git.usbharu.dev/usbharu/watchdog-be -Djib.to.auth.username=usbharu -Djib.to.auth.password=${{ secrets.DEPLOY_TOKEN }} + if: github.event.pull_request.merged == true \ No newline at end of file