From 32b3a9eed46d7cefd77a8740c96ab5ea4f85a8cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20T=C3=BCrken?= Date: Thu, 14 Sep 2023 20:13:47 +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 2dad011977ada063366f25ccefb083dbd43e1296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20T=C3=BCrken?= Date: Wed, 27 Sep 2023 17:28:58 +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 }}