Deploying an app using github action

Hi help pleace
i’m trying to implement CI/CD through github actions, i want to build the application in the flow and paste it in the server. i’ve tried this but i get an error

This workflow contains a single job called “build”

# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout the repository
  uses: actions/checkout@v2
  • name: Set up Go 1.13

    uses: actions/setup-go@v1
      go-version: 1.13
    id: go
    • name: Deploy and rebuild on server
      uses: appleboy/ssh-action@master
      username: root
      key: ${{ secrets.serverKey }}
      port: 22
      cd go/victorydash/ &&
      git pull origin master &&
      git status &&
      echo $PATH &&
      go build -o app main.go && #here is the error
      systemctl restart goweb.service &&
      systemctl status goweb `

this is the error
out: nothing to commit, working tree clean
out: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
err: bash: go: command not found
is there a way to do this?