Skip to content

Add configurable path for script-exporter config file (#162) #23

Add configurable path for script-exporter config file (#162)

Add configurable path for script-exporter config file (#162) #23

Workflow file for this run

name: Helm
on:
push:
branches:
- main
paths:
- 'charts/script-exporter/**'
jobs:
helm:
name: Helm Chart
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure Git
run: git config --global user.email "[email protected]" && git config --global user.name "ricoberger"
- name: Package Helm Chart
run: helm package ./charts/script-exporter
- name: Clone Helm Repository
run: git clone https://github.com/ricoberger/helm-charts.git
- name: Update Helm Repository
run: mv script-exporter* ./helm-charts/ && helm repo index helm-charts/ --url https://ricoberger.github.io/helm-charts/
- name: Commit Changes
run: cd helm-charts/ && git add . && git commit -m "Add new release for script_exporter"
- name: Push Changes
run: cd helm-charts/ && git push https://ricoberger:${{ secrets.TOKEN }}@github.com/ricoberger/helm-charts.git