fix: response from the api as string message #15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: SSH and Run dmd.sh | |
| on: | |
| push: | |
| branches: | |
| - develop # Adjust to your target branch | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: SSH into Server A and execute script on Server B | |
| uses: appleboy/ssh-action@v0.1.10 | |
| with: | |
| host: ${{ secrets.EC2_HOST }} | |
| username: ${{ secrets.EC2_USER }} | |
| key: ${{ secrets.AWS_PRIVATE_KEY }} | |
| script: | | |
| ssh -o StrictHostKeyChecking=no -i care.pem ubuntu@10.217.126.30 "bash ~/dmd.sh" |