Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/156 ci/cd 트러블 슈팅 #176

Merged
merged 11 commits into from
Jan 24, 2024
2 changes: 1 addition & 1 deletion .ebextensions-dev/00-makeFiles.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ files:

# run app
killall java
java -Dfile.encoding=UTF-8 -Dspring.profiles.active=dev -jar /var/app/current/Briefing-Api-application.jar
java -Dfile.encoding=UTF-8 -Dspring.profiles.active=dev -jar $JAR_PATH
6 changes: 2 additions & 4 deletions .github/workflows/dev_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
run: chmod +x ./gradlew
shell: bash # (6).권한 부여

# clean build -x test
- name: Build with Gradle
run: ./gradlew Briefing-Api:bootJar
shell: bash # (7).build 시작
Expand All @@ -50,7 +49,7 @@ jobs:
cp Procfile deploy/Procfile
cp -r .ebextensions-dev deploy/.ebextensions
cp -r .platform deploy/.platform
cd deploy && zip -r deploy. zip .
cd deploy && zip -r deploy.zip .

- name: Beanstalk Deploy
uses: einaregilsson/beanstalk-deploy@v20
Expand All @@ -62,5 +61,4 @@ jobs:
version_label: github-action-${{ steps.current-time.outputs.formattedTime }}
region: ap-northeast-2
deployment_package: deploy/deploy.zip
wait_for_deployment: false

wait_for_deployment: false
Loading