We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d341a4 commit 60195e4Copy full SHA for 60195e4
1 file changed
.github/workflows/packagist.yml
@@ -0,0 +1,16 @@
1
+name: Publish package to Packagist
2
+on:
3
+ push:
4
+ tags:
5
+ - *
6
+jobs:
7
+ publish:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v4
11
+ - name: Publish Artifact
12
+ run: curl -XPOST -H 'content-type:application/json' "https://packagist.org/api/update-package?username=messente.developers&apiToken=${API_TOKEN}" -d '{"repository":{"url":"https://packagist.org/packages/messente/messente-api-php"}}'
13
+ env:
14
+ API_TOKEN: ${{ secrets.API_TOKEN }}
15
+
16
0 commit comments