Skip to content

Commit

Permalink
Update documentation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ekwaly authored Oct 24, 2024
1 parent 4c917ba commit b931ea8
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Repository Dispatch
on:
repository_dispatch:
types: [my-event]
on: pull_request
jobs:
myEvent:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v3
with:
ref: ${{ github.event.client_payload.ref }}
- run: echo ${{ github.event.client_payload.sha }}
token: ${{ secrets.PAT }}
repository: username/my-repo
event-type: my-event
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'

0 comments on commit b931ea8

Please # to comment.