Skip to content

Commit aa82bc1

Browse files
committed
build: trigger oad ci on completion
1 parent 6359878 commit aa82bc1

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/update.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: update-aws-apis
55
on:
66
push:
77
branches:
8-
- master
8+
- main
99
schedule:
1010
- cron: '0 19 * * *'
1111
workflow_dispatch: {}
@@ -37,4 +37,10 @@ jobs:
3737
git add amazonaws.com
3838
git diff-index --quiet HEAD || git commit -am "Update AWS APIs to $SDKTAG"
3939
git push https://${{ secrets.GH_PAT }}@github.com/apis-guru/openapi-directory.git
40+
- name: Trigger oad CI
41+
uses: peter-evans/repository-dispatch@v1
42+
with:
43+
token: ${{ secrets.GH_PAT }}
44+
repository: Mermade/oad
45+
event-type: ci
4046

0 commit comments

Comments
 (0)