Skip to content

github actions - ssh test #1

github actions - ssh test

github actions - ssh test #1

Workflow file for this run

name: remote ssh command
on: [ push ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SERVER_SSH_KEY }}
port: ${{ secrets.PORT }}
script: whoami