replace
This commit is contained in:
1 parent
0640534cb6
commit
61131221e3
2 files changed
+18
-1
No files matched your search
@@ -6,7 +6,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: self-hosted
|
runs-on: wrath-runner
|
||||||
steps:
|
steps:
|
||||||
- name: Pull, Update and Restart Summer
|
- name: Pull, Update and Restart Summer
|
||||||
run: |
|
run: |
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
name: Deploy Summer to Server
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: self-hosted
|
||||||
|
steps:
|
||||||
|
- name: Pull, Update and Restart Summer
|
||||||
|
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
|
||||||
Reference in new issue
Block a user