Add CI/CD deployment to summer
Deploy Summer to Server / deploy (push) Failing after 1m10s

This commit is contained in:
chrispi committed 2026-10-17 01:41:39 +02:00
1 parent b93f4a8a62
commit 7b8919fbd9
1 file changed
+25
+25
View File
@@ -0,0 +1,25 @@
name: Deploy Summer to Server
on:
push:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Executing remote deploy via SSH
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets. SERVER_USER }}
key: ${{ secrets.SERVER_SSH_KEY }}
script: |
cd /home/chrispi/scripts/telegram_bot/summer
git pull origin main
source venv/bin/activate
pip install -r requirements.txt --quiet
sudo systemctl restart summer