fix: Update KV_NAMESPACE_ID assignment in deploy workflow to ensure proper configuration

This commit is contained in:
beilunyang
2024-12-28 01:51:51 +08:00
parent 45a13d0c20
commit 6e55ba3d69

View File

@@ -74,7 +74,7 @@ jobs:
cp wrangler.example.toml wrangler.toml
sed -i "s/database_name = \".*\"/database_name = \"${{ secrets.DATABASE_NAME }}\"/" wrangler.toml
sed -i "s/database_id = \".*\"/database_id = \"${{ secrets.DATABASE_ID }}\"/" wrangler.toml
sed -i "s/id = \".*\"/id = \"${{ secrets.KV_NAMESPACE_ID }}\"/" wrangler.toml
sed -i "s/id = \"\"/id = \"${{ secrets.KV_NAMESPACE_ID }}\"/" wrangler.toml
fi
# Process wrangler.email.example.toml