Skip to content

Commit 1ec9651

Browse files
Update main.yml
added services restart
1 parent de6d275 commit 1ec9651

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yml

+3
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@ jobs:
1919
source .venv/bin/activate
2020
pip install -r requirements.txt
2121
python manage.py migrate
22+
sudo pkill -9 gunicorn
23+
sudo systemctl start gunicorn
2224
deactivate
2325
cd ../frontend
2426
npm install
2527
npm install axios
2628
npm run build
29+
sudo systemctl restart nginx

0 commit comments

Comments
 (0)