Skip to content

fix: move to wss

fix: move to wss #9

Workflow file for this run

# Deploy app
name: Deploy
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- name: Deploy using ssh
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.PRIVATE_KEY }}
port: ${{ secrets.PORT }}
command_timeout: 5m
script: |
cd ~/repos/websocket/server/
git pull origin main
git status
if [ $(docker ps -q -f name=websocket-chat) ]; then
docker compose down
fi
docker compose build
docker compose up -d