Skip to content

Commit 969934a

Browse files
authored
Update deploy.sh
1 parent 75eb698 commit 969934a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/deploy.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
22

3-
export $(grep -v '^#' /home/ec2-user/app/.env | xargs)
3+
set -a
4+
source /home/ec2-user/app/.env
5+
set +a
46

57
BUILD_JAR=$(ls /home/ec2-user/app/*.jar)
68
JAR_NAME=$(basename $BUILD_JAR)

0 commit comments

Comments
 (0)