Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy-cloudflare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/sync-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down