Skip to content

Commit

Permalink
change webhook to dispatch and add the repo name to the payload
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanetteclark committed Mar 15, 2024
1 parent ac1241d commit 3271a12
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 15 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 @@
# Webook to build course website

name: Dispatcher

on:
push:
branches: ['**']

jobs:
dispatch:
runs-on: ubuntu-latest

steps:
- name: Repository Dispatch
uses: peter-evans/[email protected]
with:
token: ${{ secrets.TOKEN }}
repository: nceas/repro-research-course
event-type: quarto
client-payload: '{"branch": "${{ github.ref_name }}", "repo": "scalable-computing-course"}'
15 changes: 0 additions & 15 deletions .github/workflows/webook.yml

This file was deleted.

0 comments on commit 3271a12

Please sign in to comment.