Skip to content

Commit

Permalink
Merge pull request #2 from ekwaly/ekwaly-patch-1
Browse files Browse the repository at this point in the history
Update documentation.yml
  • Loading branch information
ekwaly authored Oct 24, 2024
2 parents 4c917ba + f7eb84b commit 70f2149
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
name: Repository Dispatch
on:
repository_dispatch:
types: [my-event]
on: pull_request

permissions:
contents: write

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 }}
repository: ekwaly/testing-actions
event-type: my-event
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'

0 comments on commit 70f2149

Please # to comment.