This action allows doing in order
- ssh if defined
see the action.yml file for more detail imformation.
Required ssh remote host.
NOT Required ssh remote port. Default 22
Required ssh remote user.
NOT Required ssh remote pass.
NOT Required ssh remote key as string.
NOT Required connection timeout to remote host. Default 30s
NOT Required execute commands on ssh.
see the deploy.yml file for more detail imformation.
- name: ssh pipelines
uses: cross-the-world/ssh-pipeline@master
env:
WELCOME: "ssh pipeline"
with:
host: ${{ secrets.DC_HOST }}
user: ${{ secrets.DC_USER }}
pass: ${{ secrets.DC_PASS }}
port: ${{ secrets.DC_PORT }}
connect_timeout: 10s
script: |
(rm -rf /home/github/test || true)
ls -la
echo $WELCOME
mkdir -p /home/github/test/test1 &&
mkdir -p /home/github/test/test2 &&