v0.3.22 chore: исправить deploy job для Linux-совместимости, секреты Gitea
Build and Deploy / Check and Build (push) Failing after 46s
Build and Deploy / Deploy to Production (push) Has been skipped

This commit is contained in:
2026-05-27 15:05:51 +09:00
parent 570d3b5d2d
commit d28b142441
3 changed files with 12 additions and 3 deletions
+8 -3
View File
@@ -37,12 +37,17 @@ jobs:
- name: Build Docker image
run: docker build -t max-telegram-bridge-bot:latest .
- name: Create .env file from secrets
run: |
echo "TG_TOKEN=${{ secrets.TG_TOKEN }}" > .env
echo "MAX_TOKEN=${{ secrets.MAX_TOKEN }}" >> .env
echo "TG_API_URL=${{ secrets.TG_API_URL }}" >> .env
- name: Deploy with Docker Compose
working-directory: C:\docker\DockerCompose_directory\max-telegram-bridge-bot-0.3.2
run: docker-compose up -d --build
run: docker-compose up -d
- name: Health check
run: |
echo "Waiting for container to start..."
timeout /t 10
sleep 10
docker ps --filter "name=bridge" --format "table {{.Names}}\t{{.Status}}\t{{.Image}}"
+3
View File
@@ -4,6 +4,9 @@
---
## [v0.3.22] — 2026-05-27
- CI/CD: исправлен deploy job — универсальные Linux-команды, секреты Gitea
## [v0.3.21] — 2026-05-27
- CI/CD: локальный Gitea + act_runner (git.d368.ru)
+1
View File
@@ -1,6 +1,7 @@
services:
bridge:
build: .
image: max-telegram-bridge-bot:latest
restart: unless-stopped
env_file: .env
environment: