Files
summer/.gitea/workflows/deploy.yml
T
2026-10-17 03:31:13 +02:00

18 lines
384 B
YAML

name: Deploy Summer to Server
on:
push:
branches: [ main ]
jobs:
deploy:
runs-on: wrath-runner
steps:
- name: Deploy Summers new code
run: |
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