From e498b87c2673d691235e9a5aeebe035650dd7d5d Mon Sep 17 00:00:00 2001 From: Andrea Amorosi Date: Thu, 19 Oct 2023 11:30:32 +0200 Subject: [PATCH] chore(ci): add workflow to publish v2 docs on merge --- .github/workflows/on-doc-v2-merge.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/on-doc-v2-merge.yml diff --git a/.github/workflows/on-doc-v2-merge.yml b/.github/workflows/on-doc-v2-merge.yml new file mode 100644 index 0000000000..4733c3dba5 --- /dev/null +++ b/.github/workflows/on-doc-v2-merge.yml @@ -0,0 +1,22 @@ +name: Docs v2 Publish (merge) + +on: + push: + branches: + - feat/v2 + paths: + - "docs/**" + - "mkdocs.yml" + +jobs: + release-docs: + permissions: + contents: write + pages: write + id-token: write + secrets: inherit + uses: ./.github/workflows/reusable-publish-docs.yml + with: + version: next + alias: next + detached_mode: false \ No newline at end of file