chore: Add Multiline SSH commands interpreted as single lines

This commit is contained in:
Bo-Yi Wu 2020-08-08 12:26:01 +08:00
parent 269a4479eb
commit 3ac4675689

View File

@ -104,3 +104,17 @@ jobs:
ls \ ls \
-lah -lah
use_insecure_cipher: true 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