parent
							
								
									e1ec77a7a1
								
							
						
					
					
						commit
						09198447af
					
				|  | @ -22,3 +22,23 @@ jobs: | |||
|           distribution: 'adopt' | ||||
|       - name: Build with Gradle | ||||
|         run: ./gradlew clean build --continue --scan | ||||
|   generate-docs: | ||||
|     name: Generate Docs | ||||
|     runs-on: ubuntu-latest | ||||
|     if: ${{ github.repository == 'spring-projects/spring-security' }} | ||||
|     steps: | ||||
|       - uses: actions/checkout@v4 | ||||
|       - name: Set up gradle | ||||
|         uses: spring-io/spring-gradle-build-action@v2 | ||||
|         with: | ||||
|           java-version: '11' | ||||
|           distribution: 'adopt' | ||||
|       - name: Run Antora | ||||
|         run: ./gradlew -PbuildSrc.skipTests=true :spring-security-docs:antora | ||||
|       - name: Upload Docs | ||||
|         id: upload | ||||
|         uses: actions/upload-artifact@v4 | ||||
|         with: | ||||
|           name: docs | ||||
|           path: docs/build/site | ||||
|           overwrite: true | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue