Обновить .gitea/workflows/build_and_deploy.yml
Some checks are pending
Build and Test Application / build (push) Waiting to run
Build and Test Application / deploy (push) Waiting to run

This commit is contained in:
mt77 2025-05-13 02:22:42 +05:00
parent 629eeb56ae
commit c7304e61c1

View File

@ -4,6 +4,12 @@ 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:
build:
runs-on: large
@ -49,4 +55,10 @@ jobs:
sudo docker pull ${{ vars.GIT_INSTANCE }}/mt77/monitor:latest
sudo docker stop monitor || true
sudo docker rm monitor || true
sudo docker run -d --name monitor ${{ vars.GIT_INSTANCE }}/mt77/monitor:latest
sudo docker run -d --name monitor /
-e BOT_TOKEN=${{ secret.BOT_TOKEN }} /
-e BOT_CHATID=${{ secret.BOT_CHATID }} /
-e TARGET_DOMAINS=${{ env.TARGET_DOMAINS }} /
-e TARGET_PROTOCOL=${{ env.TARGET_PROTOCOL }} /
-e TARGET_SSL_VERIFY=${{ env.TARGET_SSL_VERIFY }} /
${{ vars.GIT_INSTANCE }}/mt77/monitor:latest