Skip to content

Commit 7ef610a

Browse files
committed
Add deploy snapshot job
1 parent f604e76 commit 7ef610a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ jobs:
5555
runs-on: ubuntu-latest
5656
steps:
5757
- name: Deploy Snapshot
58-
if: github.ref == 'ref/head/main'
58+
if: |
59+
github.ref == 'ref/head/main' &&
60+
github.repository == 'spring-projects/spring-rewrite-commons' }}
5961
env:
6062
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
6163
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}

0 commit comments

Comments
 (0)