mirror of
https://github.com/appleboy/ssh-action.git
synced 2024-12-19 20:29:05 +00:00
chore: Add Multiline SSH commands interpreted as single lines
This commit is contained in:
parent
269a4479eb
commit
3ac4675689
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user