name: Deploy Kitsu to staging environment

on: [push]

jobs:

  build:
    name: Build
    runs-on: ubuntu-latest
    steps:
    - name: executing remote ssh commands using password
      uses: appleboy/ssh-action@master
      with:
       host: ${{ secrets.HOST }}
       username: ${{ secrets.USERNAME }}
       key: ${{ secrets.KEY }}
       script: cd /opt/kitsu && git pull --rebase origin master

Add a github action for staging deployment
Add a github action for staging deployment