This repository was archived by the owner on Sep 11, 2025. It is now read-only.
Fix search being dropped on page navigation or refresh #32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 fetch | |
git reset --hard origin/main | |
docker compose up -d --build |