Skip to content

Commit

Permalink
printing jar file to be moved (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitjha941 authored Aug 22, 2023
1 parent 717586f commit e48b594
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
port: ${{ secrets.PROD_PORT }}
script: |
cd salesparrow-api
echo "Moving jar file"
echo $(ls | grep "\.jar$" | tail -n 1)
mv $(ls | grep "\.jar$" | tail -n 1) app.jar
chmod 777 app.jar
sudo systemctl stop app.service
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ jobs:
port: ${{ secrets.STAGING_PORT }}
script: |
cd salesparrow-api
echo "Moving jar file"
echo $(ls | grep "\.jar$" | tail -n 1)
mv $(ls | grep "\.jar$" | tail -n 1) app.jar
chmod 777 app.jar
sudo systemctl stop app.service
Expand Down

0 comments on commit e48b594

Please sign in to comment.