File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 tags :
66 - ' v*'
7+ release :
8+ types : [published]
79
810jobs :
911 publish :
1012 name : Publish package
1113 runs-on : ubuntu-latest
1214 steps :
13- - name : Publish to Packagist
14- uses : packagist/publish@v1
15- with :
16- package-name : mrnaeem4/ci4-request-analysis
17- username : ${{ secrets.PACKAGIST_USERNAME }}
18- token : ${{ secrets.PACKAGIST_TOKEN }}
15+ - name : Trigger Packagist update
16+ env :
17+ PACKAGIST_USERNAME : ${{ secrets.PACKAGIST_USERNAME }}
18+ PACKAGIST_TOKEN : ${{ secrets.PACKAGIST_TOKEN }}
19+ PACKAGIST_REPOSITORY : https://github.com/mrnaeem4/ci4-request-analysis
20+ run : |
21+ curl -sS -X POST \
22+ -H 'Content-Type: application/json' \
23+ -H "Authorization: Bearer ${PACKAGIST_USERNAME}:${PACKAGIST_TOKEN}" \
24+ -d "{\"repository\":\"${PACKAGIST_REPOSITORY}\"}" \
25+ https://packagist.org/api/update-package
You can’t perform that action at this time.
0 commit comments