Skip to content

Commit

Permalink
include packagist update package
Browse files Browse the repository at this point in the history
  • Loading branch information
gritzkoo committed Jun 25, 2022
1 parent 7abc372 commit 24197ce
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/packagist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Packagist.org packag update
on:
workflow_dispatch:

# push:
# branches:
# - main
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: call update packagist.org
env:
API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PACKAGIST_PACKAGE_URL: "https://packagist.org/packages/gritzkoo/php-health-checker"
run: curl -XPOST -H'content-type:application/json' 'https://packagist.org/api/update-package?username=gritzkoo&apiToken=API_TOKEN' -d'{"repository":{"url":"PACKAGIST_PACKAGE_URL"}}'

0 comments on commit 24197ce

Please sign in to comment.