Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Add workflow dispatch to Build Docs #773

Merged
merged 8 commits into from
Aug 29, 2024
Merged
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 29 additions & 2 deletions .github/workflows/build-main-docs.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,39 @@
name: Build Main Docs
name: Build Docs

on:
workflow_dispatch:
inputs:
package:
description: 'Name of the package to build docs for.'
required: true
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
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: true
type: choice
default: 'push'
options:
- 'push'
- 'test'
workflow_call:
inputs:
package:
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: true
type: string
default: 'main'
event_name:
description: The event name that triggered the workflow
required: true
Expand Down Expand Up @@ -40,5 +67,5 @@ jobs:
secrets: inherit
with:
package: ${{ inputs.package }}
version: 'main'
version: ${{ inputs.version }}
event_name: ${{ inputs.event_name }}
Loading