Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions .github/workflows/pr-doc-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

name: PR doc validation
on:
pull_request:
branches:
- main
- 'camel-spring-boot-*'
paths-ignore:
- README.md
- Jenkinsfile
- Jenkinsfile.*
- '*.txt'

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true

permissions:
contents: read

jobs:
check-doc:
if: github.repository == 'apache/camel-spring-boot'
runs-on: ubuntu-latest
steps:
- name: Checkout camel-spring-boot repo
uses: actions/checkout@v5
with:
persist-credentials: false
submodules: recursive
path: camel-spring-boot
- name: Checkout camel-website repo
uses: actions/checkout@v5
with:
repository: apache/camel-website
path: camel-website
ref: main

- name: Validate documentation
shell: bash
run: |
cd camel-website
yarn install
cd ../camel-spring-boot/docs
yarn install
./local-build.sh quick
Loading