mirror of
https://github.com/Mercantec-GHC/h4-projekt-gruppe-0-sm.git
synced 2025-04-28 00:34:06 +02:00
run root script
This commit is contained in:
parent
6bf3ee3e68
commit
44290b751e
@ -28,7 +28,7 @@ def main():
|
|||||||
print("new commit found. redeploying...")
|
print("new commit found. redeploying...")
|
||||||
|
|
||||||
if not dry_run:
|
if not dry_run:
|
||||||
rcode = subprocess.call(["sh", "./deploy/redeploy.sh"])
|
rcode = subprocess.call(["sh", "./deploy/redeploy_as_root.sh"])
|
||||||
if rcode == 0:
|
if rcode == 0:
|
||||||
print("redeployed successfully")
|
print("redeployed successfully")
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user