Skip to content

Commit 7fdee3b

Browse files
authored
chore(deploy): EC2 배포용 deploy.sh 스크립트 추가
1 parent f856b87 commit 7fdee3b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/deploy.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
export $(grep -v '^#' /home/ec2-user/app/.env | xargs)
4+
35
BUILD_JAR=$(ls /home/ec2-user/app/build/libs/*.jar)
46
JAR_NAME=$(basename $BUILD_JAR)
57
echo "> build 파일명: $JAR_NAME" >> /home/ec2-user/app/deploy.log

0 commit comments

Comments
 (0)