Skip to content

Commit

Permalink
add workflow to trigger preview builds
Browse files Browse the repository at this point in the history
  • Loading branch information
karanpopat committed Jun 7, 2024
1 parent 95ebcda commit 82f4322
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/trigger-flowpipe-io.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Trigger the preview build in flowpipe.io

on:
workflow_dispatch:

push:
branches-ignore:
- "main"

jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.G_PERSONAL_ACCESS_TOKEN }}
repository: turbotio/flowpipe.io
event-type: build-preview
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "ref_name": "${{ github.ref_name }}"}'

0 comments on commit 82f4322

Please sign in to comment.