Skip to content

Formatting changes

Formatting changes #9

Workflow file for this run

name: Deploy to server
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy to server
runs-on: ubuntu-latest
steps:
- name: Run SSH commands
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_KEY }}
port: 22
script: |
cd /dockers/KU-courses
git pull
git switch main
docker compose up -d --build