We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00c432e commit 44adca2Copy full SHA for 44adca2
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,13 @@
1
+name: Release to Packagist
2
+on:
3
+ release:
4
+ types: [published]
5
+jobs:
6
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - 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"
0 commit comments