Skip to content

Commit

Permalink
chore: 배포 환경 설정 (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
pushedrumex authored Feb 22, 2024
1 parent 371dfcc commit 02a4fae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CD

on:
push:
branches: [ "dev" ]
branches: [ "main" ]

env:
S3_BUCKET_NAME: verby-bucket
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ echo "[ $(date +%c) ] 새 어플리케이션 배포" >> $DEPLOY_LOG
JAR_NAME=$(ls -tr "$DEPLOY_PATH" | grep jar | tail -n 1)

echo "[ $(date +%c) ] JAR Name: $JAR_NAME" >> $DEPLOY_LOG
nohup java -jar $DEPLOY_PATH/"$JAR_NAME" --spring.profiles.active=dev > $APP_LOG 2> $ERROR_LOG &
nohup java -jar $DEPLOY_PATH/"$JAR_NAME" --spring.profiles.active=prod > $APP_LOG 2> $ERROR_LOG &

0 comments on commit 02a4fae

Please sign in to comment.