add shutdown nas and startup, reqs.txt and deploy.sh
This commit is contained in:
10
cicd_deploy.sh
Executable file
10
cicd_deploy.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
git pull origin main
|
||||
|
||||
source /.venv/bin/activate
|
||||
|
||||
pip install -r requirements.txt
|
||||
|
||||
sudo systemctl stop ups-power.service
|
||||
sudo systemctl start ups-power.service
|
||||
Reference in New Issue
Block a user