Skip to content

Commit

Permalink
Don't push charts if not on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenlj committed Sep 8, 2023
1 parent f7e58f0 commit 0f4da2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ jobs:
helm package "$chart"
done
- name: Push Chart
if: github.ref == 'refs/heads/main'
run: |-
for chart in *.tgz; do
helm push "$chart" oci://${{ env.GOOGLE_REGISTRY }}/nais-io/nais/feature
Expand Down

0 comments on commit 0f4da2f

Please sign in to comment.