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: with:
ref: prod ref: prod
- name: build - name: build
run: docker build -t mathwave/sprint-repo:certupdater . run: docker build -t mathwave/sprint-repo:pizda-bot .
push: push:
name: Push name: Push
runs-on: [ dev ] runs-on: [ dev ]
needs: build needs: build
steps: steps:
- name: push - name: push
run: docker push mathwave/sprint-repo:certupdater run: docker push mathwave/sprint-repo:pizda-bot
deploy-prod: deploy-prod:
name: Deploy prod name: Deploy prod
runs-on: [prod] runs-on: [prod]

View File

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