1 parent c65b7e1 commit 674e75aCopy full SHA for 674e75a
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,19 @@
1
+name: Publish to Packagist
2
+
3
+on:
4
+ workflow_run:
5
+ workflows: [Tests]
6
+ types: [completed]
7
+ branches: [master]
8
9
+jobs:
10
+ publish:
11
+ if: ${{ github.event.workflow_run.conclusion == 'success' }}
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Publish to Packagist
15
+ uses: dawken/packagist-github-action@v1
16
+ with:
17
+ packagist-username: ${{ secrets.PACKAGIST_USERNAME }}
18
+ packagist-token: ${{ secrets.PACKAGIST_TOKEN }}
19
+ packagist-url: https://packagist.org
0 commit comments