on:
  push:
    branches:
    - master
    
jobs:
  my_job:
    name: deploy to staging
    runs-on: ubuntu-18.04
    steps:
    - name: executing remote ssh commands using password
      uses: appleboy/ssh-action@v0.1.6
      with:
        host: 45.86.87.173
        username: root
        key: ${{ secrets.SSH_KEY }}
        port: 2251
        script: whoami
