Compare commits

..

No commits in common. "6cedf34b8ed041705a79b650af2b218998cd36b7" and "df0af634d6249ec9b07c4c883cfc9ea39ce2bb2d" have entirely different histories.

2 changed files with 3 additions and 6 deletions

View File

@ -18,14 +18,14 @@ jobs:
with:
ref: prod
- name: build
run: docker build -t mathwave/sprint-repo:certupdater .
run: docker build -t mathwave/sprint-repo:pizda-bot .
push:
name: Push
runs-on: [ dev ]
needs: build
steps:
- name: push
run: docker push mathwave/sprint-repo:certupdater
run: docker push mathwave/sprint-repo:pizda-bot
deploy-prod:
name: Deploy prod
runs-on: [prod]

View File

@ -24,10 +24,7 @@ def call(command: str) -> Response:
def get_hosts() -> list[str]:
if os.getenv("STAGE") == "development":
return list(set(list(configurator.get_config("hosts")) + ["platform.develop.sprinthub.ru"]))
else:
return list(set(list(configurator.get_config("hosts")) + ["platform.sprinthub.ru"]))
return list(set(configurator.get_config("hosts") + ["platform.develop.sprinthub.ru"]))
def update_host(host: str) -> bool: