Skip to content

Commit c4d82c6

Browse files
committed
ci(dpes): Ensure ladybug release updates fairyfly
1 parent 9a1aa47 commit c4d82c6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,16 @@ jobs:
8686
-H "Accept: application/vnd.github.everest-preview+json" \
8787
-d '{"event_type": "ladybug_core_release", "client_payload": {"version": "${{ steps.new_release.outputs.tag }}"}}' \
8888
-u ladybugbot:$DEPS_TOKEN
89+
- name: Update fairyfly-core
90+
if: contains(steps.new_release.outputs.tag, '.')
91+
env:
92+
DISPATCH_REPO: ladybug-tools/fairyfly-core
93+
DEPS_TOKEN: ${{ secrets.DEPS_UPDATING }}
94+
run: |
95+
curl -X POST https://api.github.com/repos/$DISPATCH_REPO/dispatches \
96+
-H "Accept: application/vnd.github.everest-preview+json" \
97+
-d '{"event_type": "ladybug_core_release", "client_payload": {"version": "${{ steps.new_release.outputs.tag }}"}}' \
98+
-u ladybugbot:$DEPS_TOKEN
8999
- name: Update pollination-ladybug
90100
if: contains(steps.new_release.outputs.tag, '.')
91101
env:

0 commit comments

Comments
 (0)