Skip to content

feat: add prometheus #28

feat: add prometheus

feat: add prometheus #28

Workflow file for this run

# based on: https://github.com/helm/charts-repo-actions-demo/blob/main/.github/workflows/release.yaml
name: release
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Set up Helm
uses: azure/setup-helm@v3
with:
version: v3.11.2
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.5.0
with:
charts_dir: helm/charts
config: helm/cr.yaml
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Discord notification
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: 'Project {{ EVENT_PAYLOAD.repository.full_name }} release helm charts successfully. https://artifacthub.io/packages/helm/vechr/vechr-iiot'