Skip to content

Commit

Permalink
Update github-actions-demo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
minji1289 authored Nov 2, 2023
1 parent e230c6a commit 5f73b8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 &

0 comments on commit 5f73b8a

Please sign in to comment.