Skip to content

Commit

Permalink
Merge branch 'IT-Pick:dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ho0010 authored Jul 11, 2024
2 parents 1c52399 + 272446e commit dd98aaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

# 빌드 결과물 S3 버킷에 업로드
- name: upload to AWS S3
run: aws s3 sync --delete --region $AWS_REGION ./build s3://$S3_BUCKET_NAME
run: aws s3 cp --region ap-northeast-2 ./$GITHUB_SHA.zip s3://$BUCKET_NAME/$PROJECT_NAME/$GITHUB_SHA.zip

- name: deploy with AWS codeDeploy
run: |
Expand Down
4 changes: 2 additions & 2 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
REPOSITORY=/home/ubuntu/IT-Pick-Backend
cd $REPOSITORY

APP_NAME=moduform
APP_NAME=Backend
JAR_NAME=$(ls $REPOSITORY/build/libs/ | grep 'SNAPSHOT.jar' | tail -n 1)
JAR_PATH=$REPOSITORY/build/libs/$JAR_NAME

Expand All @@ -19,4 +19,4 @@ else
fi

echo "> Deploy - $JAR_PATH "
nohup java -jar $JAR_PATH > /dev/null 2> /dev/null < /dev/null &
nohup java -jar $JAR_PATH > /dev/null 2> /dev/null < /dev/null &

0 comments on commit dd98aaa

Please sign in to comment.