Skip to content

Commit 01c4955

Browse files
committed
Upload image to artifacts if this is not master
1 parent 8c8fdcd commit 01c4955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-image.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434
- name: Upload image to artifacts
35-
if: ${{ github.event_name == 'workflow_dispatch' }}
35+
if: ${{ github.event_name == 'workflow_dispatch' || github.ref != 'refs/heads/master' }}
3636
uses: actions/upload-artifact@v4
3737
with:
3838
name: image

0 commit comments

Comments
 (0)