Skip to content

Commit

Permalink
release test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
thevops committed Dec 12, 2024
1 parent 641d624 commit ca43106
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Release All

on:
push:
# tags:
# - "v*"
tags:
- "v*"

jobs:
release:
Expand Down Expand Up @@ -31,25 +31,11 @@ jobs:
mkdir -p packaged
helm package charts/* --destination packaged
- name: Create Release
id: create_release
uses: actions/create-release@v1
- name: Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref_name }}
release_name: "Release ${{ github.ref_name }}"
body: "Release for ${{ github.ref_name }} including packaged Helm charts."
draft: false
prerelease: false
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Upload Release Assets
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./packaged
asset_name: Helm_Charts
asset_content_type: application/x-tar
files: |
packaged/*
- name: Update index.yaml in gh-pages
run: |
Expand Down

0 comments on commit ca43106

Please sign in to comment.