Skip to content

fix: response from the api as string message #15

fix: response from the api as string message

fix: response from the api as string message #15

Workflow file for this run

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"