1
name: Keycloak Documentation
13
MAVEN_ARGS: "-B -nsu -Daether.connector.http.connectionMaxTtl=25"
16
# Only cancel jobs for PR updates
17
group: documentation-${{ github.ref }}
18
cancel-in-progress: true
27
name: Check conditional workflows and jobs
28
runs-on: ubuntu-latest
30
documentation: ${{ steps.conditional.outputs.documentation }}
32
- uses: actions/checkout@v4
35
uses: ./.github/actions/conditional
37
token: ${{ secrets.GITHUB_TOKEN }}
41
if: ${{ needs.conditional.outputs.documentation == 'true' }}
42
runs-on: ubuntu-latest
45
- uses: actions/checkout@v4
49
uses: ./.github/actions/java-setup
53
uses: ./.github/actions/maven-cache
55
- id: build-test-documentation
56
name: Build and verify Keycloak documentation
59
./mvnw install -Dtest=!ExternalLinksTest -am -pl docs/documentation/tests,docs/documentation/dist -e -Pdocumentation
61
- id: upload-keycloak-documentation
62
name: Upload Keycloak documentation
63
uses: actions/upload-artifact@v3
65
name: keycloak-documentation
66
path: docs/documentation/dist/target/*.zip
70
name: External links check
71
if: ${{ needs.conditional.outputs.documentation == 'true' }}
72
runs-on: ubuntu-latest
75
- uses: actions/checkout@v4
79
uses: ./.github/actions/java-setup
83
uses: ./.github/actions/maven-cache
85
- id: build-test-documentation
86
name: Build and verify Keycloak documentation
89
./mvnw install -Dtest=ExternalLinksTest -am -pl docs/documentation/tests -e -Pdocumentation
92
name: Status Check - Keycloak Documentation
97
runs-on: ubuntu-latest
99
- uses: actions/checkout@v4
100
- uses: ./.github/actions/status-check
102
jobs: ${{ toJSON(needs) }}