Skip to content

Commit

Permalink
Merge pull request #255 from ASAP-as-soon-as-possible/hotfix/#253
Browse files Browse the repository at this point in the history
#253 [hotfix] 2023 -> 2024로 수정
  • Loading branch information
KWY0218 authored Jan 22, 2024
2 parents 5a9ed66 + 3fc5c5b commit ae49048
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
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
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

0 comments on commit ae49048

Please sign in to comment.