Skip to content

Commit 62255bd

Browse files
committed
fix: 시크릿 값 명확하게 들어가게 수정
1 parent ab7a26d commit 62255bd

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,11 @@ jobs:
5858
fi
5959
6060
echo "[deploy] start new app"
61-
DB_PASSWORD=${{ secrets.DB_PASSWORD }}\
62-
DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }}\
63-
nohup java -jar build/libs/workingdead-0.0.1-SNAPSHOT.jar > app.log 2>&1 &
61+
62+
export DB_PASSWORD='${{ secrets.DB_PASSWORD }}'
63+
export DISCORD_TOKEN='${{ secrets.DISCORD_TOKEN }}'
64+
65+
nohup java -jar build/libs/workingdead-0.0.1-SNAPSHOT.jar > app.log 2>&1 &
6466
6567
echo $! > app.pid
6668

0 commit comments

Comments
 (0)