|
@@ -19,9 +19,8 @@
|
|
|
<p>You can use your API token to interact with the Packagist API.</p>
|
|
|
<h1>GitHub Service Hook</h1>
|
|
|
<p>Enabling the Packagist service hook ensures that your package will always be updated instantly when you push to GitHub. To do so you can go to your GitHub repository, click the "Settings" button, then "Service Hooks". Pick "Packagist" in the list, and add your API token (see above), plus your Packagist username if it is not the same as on GitHub. Check the "Active" box and submit the form.</p>
|
|
|
- <h1>Bitbucket Service</h1>
|
|
|
- <p><em>Note:</em> The service has currently not been enabled on Bitbucket's side, so please give it some time to become available.</p>
|
|
|
- <p>To enable the Bitbucket service hook, go to your BitBucket repository, open the "Admin" tab and select "Services" in the menu. Pick "Packagist" in the list and add it to your repository. Afterwards, configure it like the GitHub service hook.</p>
|
|
|
+ <h1>Bitbucket POST Service</h1>
|
|
|
+ <p>To enable the Bitbucket service hook, go to your BitBucket repository, open the "Admin" tab and select "Services" in the menu. Pick "POST" in the list and add it to your repository. Afterwards, you have to enter the Packagist endpoint, containing both your username and API token (see above). Enter <code>https://packagist.org/api/bitbucket?username={{ app.user.username }}&apiToken=…</code> for the service's URL. Save your changes and you're done.</p>
|
|
|
{% endif %}
|
|
|
|
|
|
<h1>Your packages</h1>
|