From 5f73b8a59b770534ddd055cb459230961214c8d8 Mon Sep 17 00:00:00 2001 From: Minji Kim <79117648+minji1289@users.noreply.github.com> Date: Thu, 2 Nov 2023 20:30:54 +0900 Subject: [PATCH] Update github-actions-demo.yml --- .github/workflows/github-actions-demo.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml index 0b1b875..d6d7089 100644 --- a/.github/workflows/github-actions-demo.yml +++ b/.github/workflows/github-actions-demo.yml @@ -19,6 +19,7 @@ jobs: script: | cd /home/ec2-user/apps/step1 sh deploy.sh + REPOSITORY=/home/ec2-user/apps/step1 JAR_NAME=$(ls -tr $REPOSITORY/ | grep jar | head -n 1) echo "> JAR Name: $JAR_NAME" nohup java -jar $JAR_NAME &