From e8132244c50a6ababb9de4309dca0b2a319267c1 Mon Sep 17 00:00:00 2001 From: Ryan Steel Date: Thu, 17 Sep 2026 10:21:05 +0100 Subject: [PATCH] add docs-publish workflow --- .github/workflows/docs-publish.yml | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/docs-publish.yml diff --git a/.github/workflows/docs-publish.yml b/.github/workflows/docs-publish.yml new file mode 100644 index 00000000..21f8d21d --- /dev/null +++ b/.github/workflows/docs-publish.yml @@ -0,0 +1,32 @@ +# ******************************************************************************* +# Copyright (c) 2026 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License Version 2.0 which is available at +# https://www.apache.org/licenses/LICENSE-2.0 +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************* + +name: Publish Documentation + +on: + workflow_run: + workflows: ["Docs / Build & Deploy"] + types: [completed] + +jobs: + docs-publish: + if: github.event.workflow_run.conclusion == 'success' + uses: eclipse-score/cicd-workflows/.github/workflows/docs-publish.yml@14072822c35476e1999f62e342dd5a26a12e8ee7 # v0.0.3 + with: + deployment_type: workflow + permissions: + actions: read + contents: write + id-token: write + pages: write + pull-requests: write