@@ -168,7 +168,7 @@ jobs:
168168 name : Generate documentation artifacts
169169 runs-on : ubuntu-latest
170170 needs : [build-all, test-ollama, test-openai, test-remaining]
171- if : ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'spring-projects' }}
171+ if : ${{ ( github.ref == 'refs/heads/main' || github.ref == 'refs/heads/1.1.x') && github.repository_owner == 'spring-projects' }}
172172 steps :
173173 - name : Checkout source code
174174 uses : actions/checkout@v4
@@ -211,7 +211,7 @@ jobs:
211211 name : Deploy to Artifactory
212212 runs-on : ubuntu-latest
213213 needs : [build-all, test-ollama, test-openai, test-remaining]
214- if : ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'spring-projects' }}
214+ if : ${{ ( github.ref == 'refs/heads/main' || github.ref == 'refs/heads/1.1.x') && github.repository_owner == 'spring-projects' }}
215215 steps :
216216 - name : Checkout source code
217217 uses : actions/checkout@v4
@@ -240,7 +240,7 @@ jobs:
240240 name : Deploy documentation
241241 runs-on : ubuntu-latest
242242 needs : [generate-artifacts]
243- if : ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'spring-projects' }}
243+ if : ${{ ( github.ref == 'refs/heads/main' || github.ref == 'refs/heads/1.1.x') && github.repository_owner == 'spring-projects' }}
244244 steps :
245245 - name : Checkout source code
246246 uses : actions/checkout@v4
0 commit comments