fix(scripts): 🚑 Yet another hotfix for deploy.py.
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ time.sleep(15)
|
||||
|
||||
with open("./k8s/bot.yml") as stream:
|
||||
try:
|
||||
docs = yaml.load_all(stream, yaml.Loader)
|
||||
docs = list(yaml.load_all(stream, yaml.Loader))
|
||||
data = docs[0]
|
||||
|
||||
os.system(f"microk8s kubectl exec bot-{data["spec"]["replicas"] - 1} -- uv run aerich upgrade")
|
||||
|
||||
Reference in New Issue
Block a user