Skip to content

Commit

Permalink
fix: remove release chart.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Prateek Chandra <[email protected]>
  • Loading branch information
pchandra19 committed Nov 5, 2024
1 parent a19ec21 commit 1cbc60f
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 34 deletions.
File renamed without changes.
34 changes: 0 additions & 34 deletions .github/workflows/release-charts.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,3 +221,31 @@ jobs:
DBUILD_REPO_URL=https://github.com/openebs/dynamic-localpv-provisioner
DBUILD_SITE_URL=https://openebs.io
RELEASE_TAG=${{ env.RELEASE_TAG }}
release-chart:
runs-on: ubuntu-latest
needs: ["provisioner-localpv"]
steps:
- uses: actions/checkout@v4

- uses: cachix/install-nix-action@v22
- name: Pre-populate nix-shell
run: |
export NIX_PATH=nixpkgs=$(jq '.nixpkgs.url' nix/sources.json -r)
echo "NIX_PATH=$NIX_PATH" >> $GITHUB_ENV
nix-shell --pure --run "echo" ./shell.nix
- name: Check if the chart is publishable
run: |
TAG=${{ github.event.release.tag_name }}
nix-shell --pure --run "./scripts/update-chart-version.sh --tag $TAG --publish-release" ./shell.nix
- name: Publish zfs localpv develop or prerelease helm chart
uses: stefanprodan/helm-gh-pages@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
charts_dir: ./deploy/helm



0 comments on commit 1cbc60f

Please sign in to comment.