Skip to content

Update-Flux

Update-Flux #5

Workflow file for this run

name: Update-Flux
on:
workflow_dispatch:
jobs:
update-flux:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Flux CLI
uses: fluxcd/flux2/action@main
with:
version: "latest"
- name: Update flux
run: flux install --export > ./kubernetes/infra/flux/gotk-components.old
- name: Commit and push changes
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "Update flux"
git push