diff --git a/.github/workflows/deploy-cloudflare.yml b/.github/workflows/deploy-cloudflare.yml index bf59036..3378e11 100644 --- a/.github/workflows/deploy-cloudflare.yml +++ b/.github/workflows/deploy-cloudflare.yml @@ -151,13 +151,13 @@ jobs: echo "🔍 Checking if D1 database '${D1_DB_NAME}' exists..." set +e - DB_LIST=$(wrangler d1 list --json 2>&1) + DB_LIST=$(wrangler d1 list --json 2>/tmp/d1_err.log) STATUS=$? set -e if [ $STATUS -ne 0 ]; then echo "❌ Failed to list D1 databases:" - echo "$DB_LIST" + cat /tmp/d1_err.log exit 1 fi diff --git a/.github/workflows/sync-upstream.yml b/.github/workflows/sync-upstream.yml index 70f6ad5..d3656a9 100644 --- a/.github/workflows/sync-upstream.yml +++ b/.github/workflows/sync-upstream.yml @@ -20,11 +20,11 @@ jobs: uses: aormsby/Fork-Sync-With-Upstream-action@v3.4 with: # 上游仓库的名称 - upstream_sync_repo: maillab/cloud-mail + upstream_sync_repo: idinging/freemail # 上游想要同步的分支 - upstream_sync_branch: main + upstream_sync_branch: master # 自己仓库要被更新的分支 - target_sync_branch: main + target_sync_branch: master # 自动注入的 GitHub Token(需要赋予 Actions 读写权限) target_repo_token: ${{ secrets.GITHUB_TOKEN }}