Skip to content

Commit

Permalink
feat : setting submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
Kang1221 authored Feb 17, 2024
1 parent 6846c71 commit 9945e72
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 9945e72

Please sign in to comment.