Skip to content

L2rib dup host detection #2956

L2rib dup host detection

L2rib dup host detection #2956

Workflow file for this run

# SPDX-FileCopyrightText: SAP SE or an SAP affiliate company and IronCore contributors
# SPDX-License-Identifier: Apache-2.0
name: Documentation
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: pages
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
id-token: write
pages: write
jobs:
build:
name: Build VitePress Site
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v7
with:
node-version: 25
cache: npm
cache-dependency-path: docs/package-lock.json
- name: Setup Pages
uses: actions/configure-pages@v6
- name: Install dependencies
working-directory: docs
run: npm ci
- name: Build with VitePress
working-directory: docs
run: npm run docs:build
- name: Upload artifact
uses: actions/upload-pages-artifact@v5
if: github.event_name != 'pull_request'
with:
path: docs/.vitepress/dist
deploy:
name: Publish GitHub Pages
needs: build
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5