Skip to content

Commit 77792a5

Browse files
committed
Change if condition
1 parent aa25a2f commit 77792a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ jobs:
128128
repository: ether/ether-charts
129129
token: ${{ secrets.ETHER_CHART_TOKEN }}
130130
- name: Update tag in values-dev.yaml
131-
if: github.event == 'push' && github.ref == 'refs/heads/develop'
131+
if: success() && github.ref == 'refs/heads/develop'
132132
working-directory: ether-charts
133133
run: |
134134
sed -i 's/tag: ".*"/tag: "${{ steps.build-docker.outputs.digest }}"/' values-dev.yaml
135135
- name: Commit and push changes
136136
working-directory: ether-charts
137-
if: github.event == 'push' && github.ref == 'refs/heads/develop'
137+
if: success() && github.ref == 'refs/heads/develop'
138138
run: |
139139
git config --global user.name 'github-actions[bot]'
140140
git config --global user.email 'github-actions[bot]@users.noreply.github.com'

0 commit comments

Comments
 (0)