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 9682974 commit 926fab7Copy full SHA for 926fab7
.github/workflows/push.yml
@@ -1,14 +1,22 @@
1
+name: Build and Deploy
2
on:
3
- push
-
4
-name: Build and Deploy
+ - repository_dispatch:
5
+ types: [slides-updated]
6
7
jobs:
8
build:
9
runs-on: ubuntu-latest
10
env:
11
GH_TOKEN: ${{ github.token }}
12
steps:
13
+ # Show payload only for repository_dispatch
14
+ - name: Show dispatch payload
15
+ if: ${{ github.event_name == 'repository_dispatch' }}
16
+ run: |
17
+ echo "Event type: ${{ github.event.action || 'N/A' }}"
18
+ echo "Client payload (JSON):"
19
+ echo '${{ toJson(github.event.client_payload) }}'
20
- name: Set timezone
21
uses: szenius/set-timezone@v2.0
22
with:
0 commit comments