Skip to content

Commit a91c5b5

Browse files
committed
Adjust publish action
1 parent 3554ac5 commit a91c5b5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Dispatch packagist update
10-
run: >-
11-
curl -X POST https://packagist.org/api/update-package?username=${{ secrets.PACKAGIST_USERNAME }}&apiToken=${{ secrets.PACKAGIST_API_TOKEN }}
12-
-d '{"repository":{"url":"https://github.com/detectlanguage/detectlanguage-php"}}'
13-
-H "Content-Type: application/json"
10+
run: |
11+
curl -X POST -d '{"repository":{"url":"https://github.com/detectlanguage/detectlanguage-php"}}' \
12+
-H "Content-Type: application/json" \
13+
https://packagist.org/api/update-package?username=${{ secrets.PACKAGIST_USERNAME }}&apiToken=${{ secrets.PACKAGIST_API_TOKEN }}

0 commit comments

Comments
 (0)