Skip to content

Commit 9cef9bf

Browse files
committed
quickfix: ci: make docs deployment source configurable
1 parent 797e592 commit 9cef9bf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/docs-publish.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Publish Docs
22
on:
33
workflow_dispatch:
4+
inputs:
5+
docs_source_url:
6+
description: 'URL of Browsertrix Deployment to copy API docs from'
7+
required: false
8+
default: 'https://app.browsertrix.com'
49

510
release:
611
types: [published]
@@ -24,7 +29,7 @@ jobs:
2429
- name: Copy Docs Files
2530
run: frontend/docs/copy-api-docs.sh
2631
env:
27-
DOCS_SOURCE_URL: https://app.browsertrix.com
32+
DOCS_SOURCE_URL: ${{ github.event.inputs.docs_source_url || 'https://app.browsertrix.com' }}
2833
ENABLE_ANALYTICS: true
2934

3035
- name: Build Docs

0 commit comments

Comments
 (0)