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

#253 [hotfix] 2023 -> 2024로 수정 #255

Merged
merged 9 commits into from
Jan 22, 2024
24 changes: 12 additions & 12 deletions .github/workflows/dev-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ jobs:
- name: Upload to S3
run: aws s3 cp --region ap-northeast-2 ./asap_dev_server.zip s3://$S3_BUCKET_NAME/

# Deploy
- name: Deploy
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_KEY }}
run:
aws deploy create-deployment
--application-name asap-dev-codedeploy
--deployment-group-name asap-dev-codedeploy-group
--file-exists-behavior OVERWRITE
--s3-location bucket=asap-develop-bucket,bundleType=zip,key=asap_dev_server.zip
--region ap-northeast-2
# # Deploy
# - name: Deploy
# env:
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_KEY }}
# run:
# aws deploy create-deployment
# --application-name asap-dev-codedeploy
# --deployment-group-name asap-dev-codedeploy-group
# --file-exists-behavior OVERWRITE
# --s3-location bucket=asap-develop-bucket,bundleType=zip,key=asap_dev_server.zip
# --region ap-northeast-2
4 changes: 2 additions & 2 deletions .github/workflows/prod-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_KEY }}
run:
aws deploy create-deployment
--application-name asap-server-codedeploy
--deployment-group-name asap-server-codedeploy-group
--application-name asap-prod-code-deploy
--deployment-group-name asap-prod-server
--file-exists-behavior OVERWRITE
--s3-location bucket=asap-server,bundleType=zip,key=asap_server.zip
--region ap-northeast-2
2 changes: 1 addition & 1 deletion src/main/java/com/asap/server/common/utils/DateUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

public class DateUtil {
public static LocalDate transformLocalDate(final String month, final String day) {
return LocalDate.of(2023, Integer.parseInt(month), Integer.parseInt(day));
return LocalDate.of(2024, Integer.parseInt(month), Integer.parseInt(day));
}

public static String getMonth(final LocalDate localDate) {
Expand Down
Loading