Skip to content

Commit

Permalink
feat: copy UDFs when user_scripts folder is updated (#25361)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daesgar authored Oct 14, 2024
1 parent c941cc1 commit 266ba3a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/copy-clickhouse-udfs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Trigger UDFs Workflow

on:
push:
branches:
- master
paths:
- 'posthog/user_scripts/**'

jobs:
trigger_udfs_workflow:
runs-on: ubuntu-latest
steps:
- name: Trigger UDFs Workflow
uses: benc-uk/workflow-dispatch@v1
with:
workflow: .github/workflows/clickhouse-udfs.yml
repo: posthog/posthog-cloud-infra
token: ${{ secrets.POSTHOG_BOT_GITHUB_TOKEN }}
ref: refs/heads/main

0 comments on commit 266ba3a

Please sign in to comment.