Skip to content

Commit 2f3b77b

Browse files
committed
Update CI to enable artifact generation for tags
1 parent fe0bb8f commit 2f3b77b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134
135135
deploy:
136136
name: Deploy artifacts
137-
if: always() && startsWith(github.ref, 'refs/heads/') # we are on a branch (not a PR)
137+
if: always() && startsWith(github.repository, 'sofa-framework') && (startsWith(github.ref, 'refs/heads/') || startsWith(github.ref, 'refs/tags/')) # we are not on a fork and on a branch or a tag (not a PR)
138138
needs: [build-and-test]
139139
runs-on: ubuntu-latest
140140
continue-on-error: true

0 commit comments

Comments
 (0)