Closed bin862324915 closed 4 months ago
try the multiple steps to resolve the issue.
- name: multiple command 01
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.HOSTS01 }}
username: ${{ secrets.USERNAMES01 }}
password: ${{ secrets.PASSWORDS01 }}
port: ${{ secrets.PORT01 }}
script: |
whoami
ls -al
- name: multiple command 02
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.HOSTS02 }}
username: ${{ secrets.USERNAMES02 }}
password: ${{ secrets.PASSWORDS02 }}
port: ${{ secrets.PORT02 }}
script: |
whoami
ls -al
- name: multiple command 03
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.HOSTS03 }}
username: ${{ secrets.USERNAMES03 }}
password: ${{ secrets.PASSWORDS03 }}
port: ${{ secrets.PORT03 }}
script: |
whoami
ls -al
好的,非常感谢您
首先非常感謝您開發了這麼好用的一個項目,我想請問一下這個項目是否支持運行多主機多帳號ssh連接執行多行腳本的功能,比如