Add notify-element-web job (#7062)

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
pull/21833/head
James Salter 2021-11-01 13:00:51 +00:00 committed by GitHub
parent 89ef8e9441
commit 459b5ccaf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 1 deletions

View File

@ -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:

View File

@ -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