Skip to content

Commit

Permalink
Add event handler in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
  • Loading branch information
stefanprodan committed Nov 23, 2023
1 parent 4612138 commit e08bf90
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/event.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: event

on:
workflow_dispatch:

permissions:
contents: read

jobs:
flux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: main
- name: Handle Flux event
run: |
echo ${{ github.event.client_payload }} | jq
2 changes: 1 addition & 1 deletion manifests/bases/source-controller/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
#- https://github.com/fluxcd/source-controller/releases/download/v1.1.2/source-controller.crds.yaml
- https://github.com/fluxcd/source-controller/config/crd?ref=helm-repo-insecure
- https://github.com/fluxcd/source-controller/config/crd?ref=main
- https://github.com/fluxcd/source-controller/releases/download/v1.1.2/source-controller.deployment.yaml
- account.yaml
transformers:
Expand Down

0 comments on commit e08bf90

Please sign in to comment.