Skip to content

Commit 0e3c896

Browse files
author
leeminjung1
committed
fix: cd.yml
1 parent 7208d2e commit 0e3c896

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/cd.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ jobs:
4747
username: ${{ secrets.DEVSYNC_EC2_USERNAME }}
4848
key: ${{ secrets.DEVSYNC_EC2_PRIVATE_KEY }}
4949
script: |
50-
cd ~/DevSync
5150
echo "Stopping existing application..."
5251
pkill -f 'java -jar' || true
5352
echo "Setting up environment variables..."
@@ -59,4 +58,4 @@ jobs:
5958
-DRDS_ENDPOINT=${RDS_ENDPOINT} \
6059
-DRDS_USERNAME=${RDS_USERNAME} \
6160
-DRDS_PASSWORD=${RDS_PASSWORD} \
62-
/build/libs/devsync.jar > app.log 2>&1 &
61+
~/devsync.jar > app.log 2>&1 &

0 commit comments

Comments
 (0)