Skip to content

Commit f013a1d

Browse files
Merge pull request #95 from bytebase/a-branch-24
update
2 parents e3e0659 + 49c771f commit f013a1d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Diff for: .github/workflows/4-bb-export.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
plan_response=$(curl -s -X POST "$BASE_URL/projects/$PROJECT/plans" \
112112
-H "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
113113
-H "Content-Type: application/json" \
114-
-d "{\"steps\":[{\"specs\":[{\"id\":\"$STEP_ID\",\"export_data_config\":{\"target\":\"/instances/$INSTANCE/databases/$DATABASE\",\"format\":\"$FORMAT\",\"sheet\":\"$SHEET_NAME\"}}]}],\"title\":\"Export data from $DATABASE\",\"description\":\"EXPORT\"}")
114+
-d "{\"steps\":[{\"specs\":[{\"id\":\"$STEP_ID\",\"export_data_config\":{\"target\":\"instances/$INSTANCE/databases/$DATABASE\",\"format\":\"$FORMAT\",\"sheet\":\"$SHEET_NAME\"}}]}],\"title\":\"Export data from $DATABASE\",\"description\":\"EXPORT\"}")
115115
116116
echo "Plan response: $plan_response" # Debug output
117117
PLAN_NAME=$(echo "$plan_response" | jq -r '.name')

0 commit comments

Comments
 (0)