We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adb692c commit 73e4fdfCopy full SHA for 73e4fdf
1 file changed
.github/workflows/CD.yml
@@ -40,5 +40,7 @@ jobs:
40
username: ${{ secrets.EC2_USER }}
41
key: ${{ secrets.EC2_SSH_KEY }}
42
script: |
43
+ JAR_PATH=$(find /home/ubuntu/app/ -type f -name '*SNAPSHOT.jar' -print0 | xargs -0 ls -t | head -1)
44
+ sudo mv "${JAR_PATH}" /home/ubuntu/app/application.jar
45
sudo systemctl daemon-reload
46
sudo systemctl restart whois-server
0 commit comments