Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
f1eu authored Nov 18, 2024
1 parent 185943c commit e0576b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ jobs:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
run: |
# 检查并创建 R2 存储桶
BUCKET_INFO=$(wrangler r2 bucket list | grep "buling-imgbed-r2" || echo "")
BUCKET_INFO=$(wrangler r2 bucket list | grep "buling-imgbed-r3" || echo "")
if [ -z "$BUCKET_INFO" ]; then
echo "Creating R2 bucket..."
wrangler r2 bucket create buling-imgbed-r2 --location=apac
wrangler r2 bucket create buling-imgbed-r3 --location=apac
else
echo "R2 bucket already exists"
fi
Expand Down

0 comments on commit e0576b7

Please sign in to comment.