Skip to content

Commit 9d0f00b

Browse files
authored
Create packagist.yml
1 parent d6fcec9 commit 9d0f00b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/packagist.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Packagist Auto Update
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
update-packagist:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Notify Packagist
13+
run: |
14+
curl -X POST "https://packagist.org/api/update-package?username=baseciq&apiToken=82a55c62a99cb02ae9a80052c9a72f4d9f6bf1c9" \
15+
-d '{"repository":"https://github.com/baseciq/php-html-parser"}' \
16+
-H "Content-Type: application/json"

0 commit comments

Comments
 (0)