Skip to content

Commit 02c9364

Browse files
update
1 parent fa47048 commit 02c9364

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/try-login.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ jobs:
1717
bytebase-url: ${{ secrets.BYTEBASE_URL }}
1818
service-key: ${{ secrets.BYTEBASE_SERVICE_KEY }}
1919
service-secret: ${{ secrets.BYTEBASE_SERVICE_SECRET }}
20+
2021
- name: Debug API URL
2122
run: |
2223
echo "API URL Length: $(echo -n "${{ steps.bytebase-login.outputs.api_url }}" | wc -c)"
2324
echo "Token Length: $(echo -n "${{ steps.bytebase-login.outputs.token }}" | wc -c)"
25+
2426
- name: List projects
2527
run: |
26-
curl "${{ steps.bytebase-login.outputs.api_url }}/v1/projects" \
28+
curl "${{ steps.bytebase-login.outputs.api_url }}projects" \
2729
-H "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
2830
-H 'Content-Type: application/json; charset=utf-8'

0 commit comments

Comments
 (0)