Skip to content

feat: added endpoint to add extra class #23

feat: added endpoint to add extra class

feat: added endpoint to add extra class #23

name: Deploy the backend to the homeserver
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Update homeserver and restart it
uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
cd src/Backend
git fetch origin
git reset --hard origin/main
sudo systemctl restart webserver.service