From ba974050598c6274dd0b020fbb5b5576a221d56c Mon Sep 17 00:00:00 2001 From: mt77 Date: Thu, 15 May 2025 00:04:19 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20.gitea/workflows/deploy.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index d0f7d5d..1502d68 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -6,6 +6,11 @@ on: branches: - master +env: + TARGET_DOMAINS: "muffin77.ru,git.muffin77.ru,cloud.muffin77.ru,mail.muffin77.ru,dev.muffin77.ru,google.com" + TARGET_PROTOCOL: "https" + TARGET_SSL_VERIFY: true + jobs: deploy: runs-on: small @@ -29,12 +34,8 @@ jobs: sudo docker run -d --name monitor \ -e BOT_TOKEN="${{ secrets.BOT_TOKEN }}" \ -e BOT_CHATID=${{ secrets.BOT_CHATID }} \ - -e TARGET_DOMAINS="$TARGET_DOMAINS" \ - -e TARGET_PROTOCOL="$TARGET_PROTOCOL" \ - -e TARGET_SSL_VERIFY=$TARGET_SSL_VERIFY \ + -e TARGET_DOMAINS="${{ env.TARGET_DOMAINS }}" \ + -e TARGET_PROTOCOL="${{ TARGET_PROTOCOL }}" \ + -e TARGET_SSL_VERIFY=${{ TARGET_SSL_VERIFY }} \ ${{ vars.GIT_INSTANCE }}/mt77/monitor:latest sudo docker logout ${{ vars.GIT_INSTANCE }} - envs: - TARGET_DOMAINS: "muffin77.ru,git.muffin77.ru,cloud.muffin77.ru,mail.muffin77.ru,dev.muffin77.ru,google.com" - TARGET_PROTOCOL: "https" - TARGET_SSL_VERIFY: true \ No newline at end of file