We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8bd9dd commit c95e62eCopy full SHA for c95e62e
.github/workflows/on-payload-release.yml
@@ -1,6 +1,7 @@
1
name: on-payload-release
2
3
on:
4
+ workflow_dispatch:
5
repository_dispatch:
6
types: [payload-release-event]
7
@@ -11,4 +12,15 @@ jobs:
11
12
# Just log that we received the event
13
steps:
14
- name: Log the event payload
15
+ if: ${{ github.event_name != 'workflow_dispatch' }}
16
run: 'echo "Event received: ${{ toJson(github.event.client_payload) }}"'
17
+
18
+ - name: Slack notification to sync docs
19
+ uses: slackapi/[email protected]
20
+ with:
21
+ webhook: ${{ secrets.SLACK_WEBHOOK_WEBSITE_CHANNEL }}
22
+ webhook-type: incoming-webhook
23
+ payload: |
24
+ {
25
+ "text": "👀 New version of Payload released. Please sync the docs in the Payload CMS Admin."
26
+ }
0 commit comments