Skip to content

Commit

Permalink
add dispatch workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Enchufa2 committed Jul 11, 2024
1 parent 85a6a83 commit 467328b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/dispatch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on: workflow_call

name: dispatch

jobs:
dispatch:
if: ${{ github.ref == 'refs/heads/master' }}
runs-on: ubuntu-latest
name: dispatch simmer.${{ matrix.repo }}

strategy:
matrix:
repo: ['plot', 'bricks']

steps:
- uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.SIMMER_TOKEN }}
repository: r-simmer/simmer.${{ matrix.repo }}
event-type: simmer

0 comments on commit 467328b

Please sign in to comment.