Skip to content

Commit

Permalink
Update action.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
robinmanuelthiel authored Oct 5, 2021
1 parent 89229ba commit 25f5d73
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ branding:
color: "blue"

inputs:
name:
required: true
description: "Name of the Helm Chart"
path:
required: true
description: "Path to the packaged Helm Chart"
Expand All @@ -27,10 +24,11 @@ runs:
- name: Commit and push
shell: bash
run: |
$fileName = $(echo ${{ inputs.path }} | sed "s/.*\///")
cp ${{ inputs.path }} helm/charts
cd helm
git config user.name $GITHUB_ACTOR
git config user.email [email protected]
git add .
git commit -m "New ${{ inputs.name }} release"
git commit -m "New Helm Release: $fileName"
git push

0 comments on commit 25f5d73

Please sign in to comment.