Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Add notify-element-web job (#7062)
Browse files Browse the repository at this point in the history
This triggers a repository_dispatch event in element-web which allows that repo to run new CI actions for EW with the new SDK code
  • Loading branch information
James Salter committed Nov 1, 2021
1 parent 89ef8e9 commit 459b5cc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
end-to-end:
runs-on: ubuntu-latest
env:
env:
PR_NUMBER: ${{github.event.number}}
container: vectorim/element-web-ci-e2etests-env:latest
steps:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/notify-element-web.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Notify element-web
on:
push:
branches: [develop]
jobs:
notify-element-web:
runs-on: ubuntu-latest
environment: develop
steps:
- name: Notify element-web repo that a new SDK build is on develop
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.ELEMENT_WEB_NOTIFY_TOKEN }}
repository: vector-im/element-web
event-type: element-web-notify

0 comments on commit 459b5cc

Please sign in to comment.