We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fd1cd7 commit 93a539dCopy full SHA for 93a539d
.github/workflows/publish.yml
@@ -89,3 +89,11 @@ jobs:
89
run: |
90
git tag v${{ steps.bump_version.outputs.new_version }}
91
git push origin v${{ steps.bump_version.outputs.new_version }}
92
+
93
+ - name: Ping Packagist
94
+ if: success() && (github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch')
95
+ run: |
96
+ echo "Pinging Packagist to update package..."
97
+ curl -XPOST -H'content-type:application/json' \
98
+ "https://packagist.org/api/update-package?username=lingodotdev&apiToken=${{ secrets.PACKAGIST_SAFE_API_TOKEN }}" \
99
+ -d'{"repository":{"url":"https://github.com/lingodotdev/sdk-php"}}'
0 commit comments