From 9945e72713139f816e70ad5756ade32464dc18f2 Mon Sep 17 00:00:00 2001 From: Yeonsoo Kang <90603399+Kang1221@users.noreply.github.com> Date: Sun, 18 Feb 2024 07:14:48 +0900 Subject: [PATCH] feat : setting submodule --- .github/workflows/gradle.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 8ad37ef..5a64434 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -21,8 +21,15 @@ jobs: contents: read steps: - #기본 체크아웃 - - uses: actions/checkout@v4 + + # 체크아웃 + - name: Checkout + - uses: actions/checkout@v3 + with: + token: ${{ secrets.TOKEN }} + submodules: true + + ## JDK 17 - name: Set up JDK 17 uses: actions/setup-java@v4 with: @@ -31,7 +38,7 @@ jobs: # Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies. # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md - + # Gradle build (Test 제외) - name: Build with Gradle uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1 @@ -46,6 +53,9 @@ jobs: docker build -t donut . docker tag donut kang1221/donut:${GITHUB_SHA::7} docker push kang1221/donut:${GITHUB_SHA::7} + + + # Deploy - name: Deploy uses: appleboy/ssh-action@master with: