Skip to content

Commit

Permalink
Update prod-contents-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eojinny authored Feb 21, 2024
1 parent c4b70c8 commit 190b594
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/prod-contents-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle

name: Java CI with Gradle
name: ContentsService

on:
push:
Expand All @@ -25,7 +25,10 @@ jobs:
distribution: 'temurin'

- name: Clean Gradle Cache
run: ./gradlew clean
run: |
cd BE-Contents-Server
ls
./gradlew clean
- name: Make application.yml
run: |
Expand All @@ -35,10 +38,16 @@ jobs:
APPLICATION: ${{ secrets.APPLICATION_CONTENTS }}

- name: Grant execute permission for gradlew
run: chmod +x gradlew
run: |
cd BE-Contents-Server
ls
chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build -x test
run: |
cd BE-Contents-Server
ls
./gradlew build -x test
- name: Docker build
run: |
Expand Down

0 comments on commit 190b594

Please sign in to comment.