Skip to content

Commit 0cae86e

Browse files
fix : add submodule token
1 parent 0d4b366 commit 0cae86e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/cd.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v3
21+
with:
22+
token: ${{ secrets.SUBMODULE_TOKEN }}
23+
submodules: true
2124

2225
- name: Set up JDK 17
2326
uses: actions/setup-java@v3
@@ -29,8 +32,9 @@ jobs:
2932
run: chmod +x ./gradlew
3033

3134
- name: Build with Gradle
32-
run: ./gradlew clean build --stacktrace
33-
35+
env:
36+
JASYPT_PASSWORD: ${{ secrets.JASYPT_PASSWORD }} # GitHub Secrets에서 비밀번호 가져오기
37+
run: ./gradlew build -Djasypt.encryptor.password=${{ secrets.JASYPT_PASSWORD }} --info
3438

3539
- name: Build the Docker image
3640
run: docker build . --file Dockerfile --tag ${{ env.DOCKER_IMAGE_NAME }}:latest

0 commit comments

Comments
 (0)