diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ddc36dcf4..70eef422c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,9 +14,10 @@ on: push: branches: - main - paths-ignore: - - 'README.md' - - 'CHANGELOG.md' + paths: + - 'contrib/charts/**' + - '!README.md' + - '!CHANGELOG.md' tags: - 'v*' @@ -329,3 +330,26 @@ jobs: ## Quay.io * https://quay.io/repository/adorsys/keycloak-config-cli?tab=tags + + publish-helm-chart: + runs-on: ubuntu-latest + if: github.ref == 'refs/heads/main' + needs: [build, build-pom-version, build-legacy, lint-other-files] + steps: + - uses: actions/checkout@v4.2.2 + with: + fetch-depth: 0 + - name: Set up Helm + uses: azure/setup-helm@v4.2.0 + with: + version: v3.4.0 + - name: Publish Helm chart + uses: stefanprodan/helm-gh-pages@v1.7.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + charts_dir: contrib/charts/keycloak-config-cli + charts_url: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/helm-charts + branch: gh-pages + target_dir: helm-charts + index_dir: helm-charts + linting: false diff --git a/CHANGELOG.md b/CHANGELOG.md index 85c291389..c1e58f103 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +### Added +- Publish charts with github pages [#941](https://github.com/adorsys/keycloak-config-cli/issues/941) + ### Fixed - Fix Initial Credentials Causes Update [819](https://github.com/adorsys/keycloak-config-cli/issues/819) + ## [6.2.1] - 2024-12-05 ### Fixed - Fix ci failure actions/upload-artifact@v4 new public artifacts are no longer accessible