Skip to content

Commit

Permalink
fix: workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
HwanGonJang committed Feb 2, 2024
1 parent 4304c34 commit bd8ee84
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/deploy_to_eb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,15 @@ jobs:
BUNDLE_ZIP_FILE_NAME='application.zip'
mkdir -p ~/.gradle/
mkdir ~/${BUNDLE_PATH}
mkdir -p ${BUNDLE_PATH}

echo "GRADLE_USER_HOME=${HOME}/.gradle" >> $GITHUB_ENV

echo "${GRADLE_PROPERTIES}" > ~/.gradle/gradle.properties

./gradlew bootJar

file_list=$(ls build/libs/)
echo "$file_list"
mv build/libs/daitssu-api.jar ${BUNDLE_PATH}/application.jar

(cd ${BUNDLE_PATH} && zip -r ../${BUNDLE_ZIP_FILE_NAME} .)
Expand Down

0 comments on commit bd8ee84

Please sign in to comment.