Skip to content

Commit

Permalink
create structure for submodule updates
Browse files Browse the repository at this point in the history
  • Loading branch information
daquintero committed Jul 25, 2024
1 parent 21a5374 commit 639ab28
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/frontend_submodule_update.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Dispatch Request for Frontend Submodule Update

on:
workflow_dispatch:
push:
branches:
- main
- latest
- develop
- 'pre/*'
- 'demo/test/*'

jobs:
notify-main:
runs-on: ubuntu-latest

steps:
- name: Trigger Repository Dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
repository: flexcompute/tidy3d
event-type: submodule_update
client-payload: '{"submodule": "${{ github.repository }}", "branch": "${{ github.ref_name }}"}'

0 comments on commit 639ab28

Please sign in to comment.