diff --git a/.github/workflows/auto-deployment.yml b/.github/workflows/auto-deployment.yml index 4b40bcb..8a05114 100644 --- a/.github/workflows/auto-deployment.yml +++ b/.github/workflows/auto-deployment.yml @@ -55,6 +55,17 @@ jobs: run: | scp -i private_key.pem -r deploy "${username}@${host}:~" working-directory: JWT + + - name: Remote SSH Commands + uses: fifsky/ssh-action@v0.0.6 + with: + command: | + echo $JAVA_HOME + echo $PATH + java --version + host: ${{ secrets.EC2_HOST }} + user: ${{ secrets.EC2_USERNAME }} + key: ${{ secrets.EC2_PRIVATE_KEY }} - name: Kill current running Spring process uses: appleboy/ssh-action@v1.0.3