Skip to content

Commit 02027ca

Browse files
committed
fix(devops): fixed curl issue
1 parent c8d7e14 commit 02027ca

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/publish-packagist.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
steps:
1212
- name: Trigger Packagist Hook
1313
run: |
14-
curl -X POST https://packagist.org/api/update-package?username=${{ secrets.PACKAGIST_USERNAME }}&apiToken=${{ secrets.PACKAGIST_API_TOKEN }} \
14+
curl --fail --show-error -X POST \
1515
-H "Content-Type: application/json" \
16-
-d '{"repository":{"url":"https://github.com/gfpcom/freeproxy-php"}}'
16+
-d '{"repository":{"url":"https://github.com/gfpcom/freeproxy-php"}}' \
17+
"https://packagist.org/api/update-package?username=${{ secrets.PACKAGIST_USERNAME }}&apiToken=${{ secrets.PACKAGIST_API_TOKEN }}"

0 commit comments

Comments
 (0)