Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
muskangupta042002 committed Sep 10, 2023
1 parent 9a7c791 commit 8123f82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/BuildAndTestSource.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
with:
name: springrolls
path: target/springrolls-0.0.1-SNAPSHOT.jar

- name: List files in the workspace
run: ls -R
deploy:
runs-on: ubuntu-latest
needs: build_test
Expand All @@ -51,7 +52,6 @@ jobs:
- name: Deploy to EC2
if: github.event.pull_request.merged == true
run: |
ls -R
echo "Copying jar to EC2 Instance..."
scp -i "SpringKeyPair.pem" -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no target/springrolls-0.0.1-SNAPSHOT.jar ${{ secrets.DEV_INSTANCE_IP }}:${{ secrets.TARGET_DIR }}
echo "Jar Copied successfully!!!"
Expand Down

0 comments on commit 8123f82

Please sign in to comment.