Skip to content

Commit

Permalink
Update workflow rules
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewCane committed Jan 16, 2023
1 parent 6950ca8 commit dc48f2b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/publish-chart.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Publish Charts

on:
push:
branches: [master]
push

jobs:
validate-charts:
Expand Down Expand Up @@ -88,7 +87,7 @@ jobs:
publish-charts:
runs-on: ubuntu-22.04
needs: test-charts

if: github.ref_name == 'master'
steps:
- name: Git Checkout
uses: actions/checkout@v3
Expand All @@ -103,8 +102,8 @@ jobs:

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
- name: Publish Charts
uses: helm/[email protected]
Expand Down

0 comments on commit dc48f2b

Please sign in to comment.