From 97f6ec28de1c380de14f14566f85192ed6fc9849 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20T=C3=BCrken?= Date: Thu, 14 Sep 2023 21:18:55 +0300 Subject: [PATCH 1/2] Add ability to publish family providers for updoc workflow --- .github/workflows/updoc.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/updoc.yml b/.github/workflows/updoc.yml index 658778313..028d1b124 100644 --- a/.github/workflows/updoc.yml +++ b/.github/workflows/updoc.yml @@ -1,10 +1,17 @@ name: Updoc on: - workflow_dispatch: {} + workflow_dispatch: + inputs: + subpackages: + description: "Subpackages to be published individually (e.g. monolith config ec2)" + default: "monolith" + required: false jobs: publish-docs: uses: upbound/uptest/.github/workflows/provider-updoc.yml@main + with: + subpackages: ${{ github.event.inputs.subpackages }} secrets: UPBOUND_CI_PROD_BUCKET_SA: ${{ secrets.UPBOUND_CI_PROD_BUCKET_SA }} From d6f497e9c6d297e72ef87ec5fc1df30cefded30d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20T=C3=BCrken?= Date: Wed, 27 Sep 2023 17:26:38 +0300 Subject: [PATCH 2/2] Only publish monolith and config packages --- .github/workflows/updoc.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/updoc.yml b/.github/workflows/updoc.yml index 028d1b124..9cbde3c9f 100644 --- a/.github/workflows/updoc.yml +++ b/.github/workflows/updoc.yml @@ -1,17 +1,12 @@ name: Updoc on: - workflow_dispatch: - inputs: - subpackages: - description: "Subpackages to be published individually (e.g. monolith config ec2)" - default: "monolith" - required: false + workflow_dispatch: {} jobs: publish-docs: uses: upbound/uptest/.github/workflows/provider-updoc.yml@main with: - subpackages: ${{ github.event.inputs.subpackages }} + providers: "monolith config" secrets: UPBOUND_CI_PROD_BUCKET_SA: ${{ secrets.UPBOUND_CI_PROD_BUCKET_SA }}