Skip to content

VKP-128-ws-fix: fix WS messages received only on one of many connecte… #5

VKP-128-ws-fix: fix WS messages received only on one of many connecte…

VKP-128-ws-fix: fix WS messages received only on one of many connecte… #5

Workflow file for this run

name: Deploy to VM
on:
push:
branches:
- dev
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Execute commands over ssh
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_KEY }}
script: |
cd ./back
sudo git checkout dev
sudo git pull
sudo make docker-build
sudo docker-compose down
sudo docker-compose up -d