on: push: branches: - main workflow_dispatch: jobs: build: name: Build runs-on: ubuntu-latest steps: - name: executing remote ssh commands using password uses: appleboy/ssh-action@v0.1.7 with: host: ${{ secrets.SSH_HOST }} username: ${{ secrets.SSH_USER }} password: ${{ secrets.SSH_PASSWORD }} port: 22 script: "cd /etc/BotYam && git pull && docker-compose up -d --build"