diff --git a/.github/workflows/event.yaml b/.github/workflows/event.yaml new file mode 100644 index 0000000..3f2bc47 --- /dev/null +++ b/.github/workflows/event.yaml @@ -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 diff --git a/manifests/bases/source-controller/kustomization.yaml b/manifests/bases/source-controller/kustomization.yaml index 86f8364..e7f1be7 100644 --- a/manifests/bases/source-controller/kustomization.yaml +++ b/manifests/bases/source-controller/kustomization.yaml @@ -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: