Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple commands #38

Open
ghost opened this issue Feb 3, 2023 · 1 comment
Open

Multiple commands #38

ghost opened this issue Feb 3, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 3, 2023

I have checked closed issue Multiple discussing execute multiple commands by break line but seems like it doesn't work for me

- name: connect to ssh shoutout
        uses: garygrossgarten/[email protected]
        with:
          host: ${{ matrix.server }}
          username: ${{ matrix.user }}
          privateKey: ${{ secrets.KEY}}
          command: | 
            echo "Testing"
            echo "DD"
            ipconfig

it only returns "Testing"

am i doing something wrong here? help plz

@AndreEneva
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant