Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/trigger-kpt-netlify-hook.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Trigger kpt.dev build
on:
push:
branches:
- main
paths:
- 'documentation/content/en/function-catalog/**'
- 'documentation/layouts/shortcodes/**'
- 'examples/**'
jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: Trigger Netlify build hook
env:
BUILD_HOOK: ${{ secrets.NETLIFY_BUILD_HOOK_URL }}
run: |
curl -s -X POST -H "Content-Type: application/json" \
-d '{"trigger_title":"krm-functions-catalog change"}' \
"$BUILD_HOOK"
Loading