Skip to content

Commit

Permalink
chore: 배포 스크립트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kariskan committed Aug 22, 2024
1 parent e77278d commit 12a6eb6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,16 @@ jobs:
distribution: 'zulu'

- name: Create application-secret.yml
run: echo "${{ secrets.SECRET }}" > src/main/resources/application-secret.yml
run: |
echo "${{ secrets.SECRET }}" > src/main/resources/application-secret.yml
chmod +x gradlew
./gradlew clean build -x test
- name: gradlew 실행 권한 부여
run: sudo chmod +x gradlew
# - name: gradlew 실행 권한 부여
# run: sudo chmod +x gradlew

- name: JAR 빌드
run: ./gradlew clean build -x test
# - name: JAR 빌드
# run: ./gradlew clean build -x test

- name: JAR를 EC2로 전송
env:
Expand Down

0 comments on commit 12a6eb6

Please sign in to comment.