Files
summer/.gitea/workflows/deploy.yaml
T
chrispi 8473fab33d
Deploy Summer to Server / deploy (push) Failing after 12s
Switch to wrath-runner deploy
2026-10-17 01:52:51 +02:00

25 lines
660 B
YAML

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