We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75eb698 commit 969934aCopy full SHA for 969934a
scripts/deploy.sh
@@ -1,6 +1,8 @@
1
#!/bin/bash
2
3
-export $(grep -v '^#' /home/ec2-user/app/.env | xargs)
+set -a
4
+source /home/ec2-user/app/.env
5
+set +a
6
7
BUILD_JAR=$(ls /home/ec2-user/app/*.jar)
8
JAR_NAME=$(basename $BUILD_JAR)
0 commit comments