From 902e500190a1e2c55124cf6ffcaa0ba0c1d4e556 Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Fri, 23 Aug 2024 10:33:32 -0500 Subject: [PATCH 1/7] wip --- .github/workflows/make-docs.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/make-docs.yml b/.github/workflows/make-docs.yml index 7fb3efb55..b2f7c7681 100644 --- a/.github/workflows/make-docs.yml +++ b/.github/workflows/make-docs.yml @@ -1,6 +1,22 @@ name: Make Docs on: + workflow_dispatch: + inputs: + package: + description: 'Name of the package to build docs for.' + required: true + type: string + version: + description: 'Version of the package to build docs for.' + required: true + type: string + default: 'main' + event_name: + description: 'Event name to determine if the docs should be synced.' + required: false + type: string + default: 'push' workflow_call: inputs: package: From 0e0948453e5cc5b3ebf13e16dee6a0826d21feb8 Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Fri, 23 Aug 2024 11:39:28 -0500 Subject: [PATCH 2/7] wip --- .github/workflows/build-main-docs.yml | 18 +++++++++++++++++- .github/workflows/make-docs.yml | 16 ---------------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build-main-docs.yml b/.github/workflows/build-main-docs.yml index a9ac4c576..7ef1273f2 100644 --- a/.github/workflows/build-main-docs.yml +++ b/.github/workflows/build-main-docs.yml @@ -1,6 +1,22 @@ name: Build Main Docs on: + workflow_dispatch: + inputs: + package: + description: 'Name of the package to build docs for.' + required: true + type: string + version: + description: 'Version of the package to build docs for. This only affects where the docs are synced and not the actual docs built so in most cases this should be "main".' + required: false + type: string + default: 'main' + event_name: + description: 'Event name to determine if the docs should be synced. Keep this as "push" to sync the docs.' + required: false + type: string + default: 'push' workflow_call: inputs: package: @@ -40,5 +56,5 @@ jobs: secrets: inherit with: package: ${{ inputs.package }} - version: 'main' + version: ${{ inputs.version if inputs.version != '' else 'main' }} event_name: ${{ inputs.event_name }} diff --git a/.github/workflows/make-docs.yml b/.github/workflows/make-docs.yml index b2f7c7681..7fb3efb55 100644 --- a/.github/workflows/make-docs.yml +++ b/.github/workflows/make-docs.yml @@ -1,22 +1,6 @@ name: Make Docs on: - workflow_dispatch: - inputs: - package: - description: 'Name of the package to build docs for.' - required: true - type: string - version: - description: 'Version of the package to build docs for.' - required: true - type: string - default: 'main' - event_name: - description: 'Event name to determine if the docs should be synced.' - required: false - type: string - default: 'push' workflow_call: inputs: package: From 378ebacc06dc4a9b080141b0515f1519bb6d26e3 Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Fri, 23 Aug 2024 11:41:41 -0500 Subject: [PATCH 3/7] wip --- .github/workflows/build-main-docs.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-main-docs.yml b/.github/workflows/build-main-docs.yml index 7ef1273f2..7255788a8 100644 --- a/.github/workflows/build-main-docs.yml +++ b/.github/workflows/build-main-docs.yml @@ -23,6 +23,11 @@ on: description: The plugin to publish the docs for required: true type: string + version: + description: The version of the plugin to publish the docs for + required: false + type: string + default: 'main' event_name: description: The event name that triggered the workflow required: true @@ -56,5 +61,5 @@ jobs: secrets: inherit with: package: ${{ inputs.package }} - version: ${{ inputs.version if inputs.version != '' else 'main' }} + version: ${{ inputs.version }} event_name: ${{ inputs.event_name }} From 304daf2a34a813292c033cde99d4e5f02df86bc7 Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Fri, 23 Aug 2024 12:09:35 -0500 Subject: [PATCH 4/7] wip --- .github/workflows/build-main-docs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-main-docs.yml b/.github/workflows/build-main-docs.yml index 7255788a8..b7ca75414 100644 --- a/.github/workflows/build-main-docs.yml +++ b/.github/workflows/build-main-docs.yml @@ -9,12 +9,12 @@ on: type: string version: description: 'Version of the package to build docs for. This only affects where the docs are synced and not the actual docs built so in most cases this should be "main".' - required: false + required: true type: string default: 'main' event_name: description: 'Event name to determine if the docs should be synced. Keep this as "push" to sync the docs.' - required: false + required: true type: string default: 'push' workflow_call: @@ -25,7 +25,7 @@ on: type: string version: description: The version of the plugin to publish the docs for - required: false + required: true type: string default: 'main' event_name: From ada46f04f4b5fa3ed1fe094ec4a409b0e814b128 Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Fri, 23 Aug 2024 12:14:18 -0500 Subject: [PATCH 5/7] wip --- .github/workflows/build-main-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-main-docs.yml b/.github/workflows/build-main-docs.yml index b7ca75414..ddfc0b2da 100644 --- a/.github/workflows/build-main-docs.yml +++ b/.github/workflows/build-main-docs.yml @@ -1,4 +1,4 @@ -name: Build Main Docs +name: Build Docs on: workflow_dispatch: From c8409d597389aae6c406d69cdfe94df8586b73f8 Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Wed, 28 Aug 2024 13:05:02 -0500 Subject: [PATCH 6/7] wip --- .github/workflows/build-main-docs.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-main-docs.yml b/.github/workflows/build-main-docs.yml index ddfc0b2da..ebcfc2a8f 100644 --- a/.github/workflows/build-main-docs.yml +++ b/.github/workflows/build-main-docs.yml @@ -6,7 +6,10 @@ on: package: description: 'Name of the package to build docs for.' required: true - type: string + type: choice + options: + - 'plotly-express' + - 'ui' version: description: 'Version of the package to build docs for. This only affects where the docs are synced and not the actual docs built so in most cases this should be "main".' required: true @@ -15,8 +18,11 @@ on: event_name: description: 'Event name to determine if the docs should be synced. Keep this as "push" to sync the docs.' required: true - type: string + type: choice default: 'push' + options: + - 'push' + - 'test' workflow_call: inputs: package: From 288ce7ad378c9fd0814867e803fb0d8151624bc6 Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Thu, 29 Aug 2024 09:46:26 -0500 Subject: [PATCH 7/7] wip --- .github/workflows/build-main-docs.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build-main-docs.yml b/.github/workflows/build-main-docs.yml index ebcfc2a8f..29b74c3c7 100644 --- a/.github/workflows/build-main-docs.yml +++ b/.github/workflows/build-main-docs.yml @@ -31,7 +31,6 @@ on: type: string version: description: The version of the plugin to publish the docs for - required: true type: string default: 'main' event_name: