mirror of
https://github.com/Mesteriis/hassio-addons-avm.git
synced 2026-01-10 23:41:02 +01:00
update repository references and improve script handling
This commit is contained in:
8
hassio-google-drive-backup/dev/deploy_server.py
Normal file
8
hassio-google-drive-backup/dev/deploy_server.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import subprocess
|
||||
import os
|
||||
|
||||
os.chdir("hassio-google-drive-backup")
|
||||
print("Setting the appropriate gcloud project...")
|
||||
subprocess.run("gcloud config set project hassio-drive-backup", shell=True)
|
||||
print("Building and uploading server container...")
|
||||
subprocess.run("gcloud builds submit --config cloudbuild-server.yaml", shell=True)
|
||||
Reference in New Issue
Block a user