diff --git a/.github/workflows/itcast-build-and-deploy.yml b/.github/workflows/itcast-build-and-deploy.yml index 697bb0e7..3d71f21a 100644 --- a/.github/workflows/itcast-build-and-deploy.yml +++ b/.github/workflows/itcast-build-and-deploy.yml @@ -94,6 +94,9 @@ jobs: done sleep 10 + - name: Grant execute permission for gradlew + run: chmod +x ./gradlew + - name: Build with Gradle (prod profile) run: ./gradlew clean build -Dspring.profiles.active=prod -Duser.language=ko -Duser.country=KR @@ -101,10 +104,6 @@ jobs: if: always() run: docker-compose down - - name: Grant execute permission for gradlew - run: chmod +x ./gradlew - shell: bash - - name: Make Zip file run: zip -r $GITHUB_SHA.zip build/libs/*.jar appspec.yml scripts/deploy.sh shell: bash