This commit is contained in:
1 parent
e601140755
commit
c50933124c
1 file changed
@@ -0,0 +1,16 @@
|
||||
name: Deploy Summer to Server
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: wrath-runner
|
||||
steps:
|
||||
- name: Pull, Update and Restart Summer
|
||||
run: |
|
||||
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