Commit 059b4eea authored by Simon Welsh's avatar Simon Welsh

Ping packagist when posting a tag

parent adcdcb38
Pipeline #6 passed with stages
......@@ -4,3 +4,13 @@ before_script:
hack:
script:
- hh_client
packagist:
type: deploy
only:
- tags
script:
- "curl -X POST \
-H 'content-type:application/json' \
'https://packagist.org/api/update-package?username=simon_w&apiToken=$PACKAGIST_TOKEN' \
-d '{\"repository\":{\"url\":\"https://packagist.org/packages/91carriage/phpunit-hhi\"}}'"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment