Skip to content

Commit

Permalink
Add deploy step
Browse files Browse the repository at this point in the history
  • Loading branch information
goomens committed Mar 21, 2024
1 parent c620233 commit b0babca
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/build-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches: [ "master" ]

env:
UPDATER_SECRET: ${{ secrets.UPDATER_SECRET }}

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -27,6 +30,12 @@ jobs:
uses: azure/setup-helm@v3

- name: Run chart-releaser
id: chart
uses: helm/chart-releaser-action@v1.6.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Deploy latest version
run: |
VERSION="${{ steps.chart.outputs.chart_version }}"
curl "https://k8s.datanose.nl/gitops-updater?name=iguideme&secret=${UPDATER_SECRET}&version=${VERSION}"
4 changes: 2 additions & 2 deletions charts/iguideme/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: iguideme
description: IguideME
type: application
version: 0.2.1
appVersion: "0.2.1"
version: 0.2.2
appVersion: "0.2.2"

0 comments on commit b0babca

Please sign in to comment.