Skip to content

Commit

Permalink
preview action modified
Browse files Browse the repository at this point in the history
  • Loading branch information
mguptahub committed Jun 17, 2024
1 parent 3fa23d1 commit 8e11d7c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/chart-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ jobs:
with:
path: code

- name: Short SHA
run: |
echo "HELM_SUB_FOLDER=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"
echo "CHART_PREFIX=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"
- name: Configure Git
working-directory: code
run: |
Expand Down Expand Up @@ -93,7 +98,6 @@ jobs:
cp charts/${{env.CHART_REPO}}/README.md ${{ env.EXPORT_DIR }}/${{env.CHART_REPO}}/${{env.CHART_REPO}}.md
helm repo index ${{ env.EXPORT_DIR }}/${{env.CHART_REPO}}
- name: Publish
if: ${{ env.BUILD_PLANE_CE == 'true' || env.BUILD_PLANE_EE == 'true' }}
working-directory: code
Expand Down

0 comments on commit 8e11d7c

Please sign in to comment.