Skip to content

Commit

Permalink
chore: Add Multiline SSH commands interpreted as single lines
Browse files Browse the repository at this point in the history
  • Loading branch information
appleboy committed Aug 8, 2020
1 parent 269a447 commit 3ac4675
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,17 @@ jobs:
ls \
-lah
use_insecure_cipher: true

# https://github.com/appleboy/ssh-action/issues/75#issuecomment-668314271
- name: Multiline SSH commands interpreted as single lines
uses: ./
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script_stop: true
script: |
ls \
-lah
use_insecure_cipher: true

0 comments on commit 3ac4675

Please sign in to comment.