Ching L 6fd21a64b9
All checks were successful
continuous-integration/drone/push Build is passing
修复进行中比赛更新创建重复事件的问题
- 改进事件匹配逻辑,增强基于队伍名称的查找机制
- 即使比分变化(如从1-0到1-1)也能正确识别同一场比赛
- 添加cleanup_duplicates.py工具用于查找和删除重复事件
- 添加delete_duplicates.py用于手动清理特定重复
- 更新CHANGELOG.md记录v3.4版本改动

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 00:09:44 +08:00

33 lines
780 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: deploy
image: appleboy/drone-ssh
settings:
host:
- 206.237.26.184
username: ching
key:
from_secret: ssh_key
passphrase:
from_secret: ssh_passphrase
port: 33740
command_timeout: 2m
script:
- echo "Deploying dota2-match-calendar"
- cd /root/develop/dota2-match-calendar
- echo "Pulling latest changes"
- git pull --rebase --autostash
- echo "Deployment completed"
- name: discord notification
image: appleboy/drone-discord
settings:
webhook_id:
from_secret: discord_webhook_id
webhook_token:
from_secret: discord_webhook_token
when:
status: [success, failure]