feat: 添加 README 语言切换入口和 Docker Hub 登录步骤
- 在 README.md 和 README_EN.md 顶部添加语言切换链接 - 在 docker-delete.yml 中添加 Docker Hub 登录步骤,保持与 build workflow 的一致性 - 提前验证 Docker Hub 凭证有效性,便于排查问题
This commit is contained in:
@@ -10,6 +10,12 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Delete Docker image
|
||||
run: |
|
||||
TAG_NAME="${{ github.event.release.tag_name }}"
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
[](https://github.com/WrBug/PolyHermes)
|
||||
[](https://x.com/quant_tr)
|
||||
|
||||
> 🌐 **Language**: [English](README_EN.md) | 中文
|
||||
|
||||
一个功能强大的 Polymarket 预测市场跟单交易系统,支持自动化跟单、多账户管理、实时订单推送和统计分析。
|
||||
|
||||
---
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
[](https://github.com/WrBug/PolyHermes)
|
||||
[](https://x.com/quant_tr)
|
||||
|
||||
> 🌐 **Language**: English | [中文](README.md)
|
||||
|
||||
A powerful copy trading system for Polymarket prediction markets, supporting automated copy trading, multi-account management, real-time order push, and statistical analysis.
|
||||
|
||||
---
|
||||
|
||||
@@ -35,15 +35,11 @@ POLYGON_RPC_URL=https://polygon-rpc.com
|
||||
# ============================================
|
||||
# 安全配置(⚠️ 必须修改,不能使用默认值)
|
||||
# ============================================
|
||||
# 生成随机密钥命令:
|
||||
# openssl rand -hex 32 # 用于 ADMIN_RESET_PASSWORD_KEY
|
||||
# openssl rand -hex 64 # 用于 JWT_SECRET
|
||||
|
||||
JWT_SECRET=your-jwt-secret-key-here-change-in-production
|
||||
ADMIN_RESET_PASSWORD_KEY=your-admin-reset-key-here-change-in-production
|
||||
JWT_SECRET=change-me-in-production
|
||||
ADMIN_RESET_PASSWORD_KEY=change-me-in-production
|
||||
|
||||
# ============================================
|
||||
# 加密密钥(可选,用于加密存储私钥和 API Key)
|
||||
# 加密密钥(用于加密存储私钥和 API Key)
|
||||
# ============================================
|
||||
# CRYPTO_SECRET_KEY=your-crypto-secret-key-here
|
||||
CRYPTO_SECRET_KEY=change-me-in-production
|
||||
|
||||
|
||||
Reference in New Issue
Block a user