Skip to content

Commit 071ccb3

Browse files
authored
Create CICD.yml
1 parent 060ee55 commit 071ccb3

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/CICD.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Update Packagist
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
update-packagist:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Update Packagist
13+
run: |
14+
curl -XPOST -H'content-type:application/json' \
15+
'https://packagist.org/api/update-package?username=Fiscalapi&apiToken=${{ secrets.PACKAGIST_API_TOKEN }}' \
16+
-d'{"repository":{"url":"https://github.com/FiscalAPI/fiscalapi-php"}}'

0 commit comments

Comments
 (0)