Skip to content

Commit

Permalink
fix: only release the chart if it is pushed to master (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
mojtabaimani committed Jul 28, 2021
1 parent 0424c07 commit 5e00436
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Expand Up @@ -74,7 +74,8 @@ jobs:
tag_name: ${{ steps.git_tag.outputs.tag }}
release_name: Release ${{ steps.git_tag.outputs.tag }}
body: ${{ steps.git_tag.outputs.changes }}
- name: Prepare chart for publishing
- if: github.ref == 'refs/heads/master'
name: Prepare chart for publishing
id: chart_prepare
run: |
# Release new chart only if its version changes
Expand Down

0 comments on commit 5e00436

Please sign in to comment.