Skip to content

Commit 8bc81f0

Browse files
committed
Add action to manually publish docs
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
1 parent dc4e65a commit 8bc81f0

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Manually Publish Documentation
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: "Version tag to publish: <major>.<minor>"
8+
required: true
9+
type: string
10+
11+
env:
12+
RUBY_VERSION: 3.1.4
13+
14+
permissions:
15+
contents: write
16+
17+
concurrency:
18+
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ inputs.version }}
19+
cancel-in-progress: true
20+
21+
jobs:
22+
publish_tag_docs:
23+
uses: ./.github/workflows/yardoc.yml
24+
with:
25+
ref_name: v${{ inputs.version }}
26+
ref_type: tag

0 commit comments

Comments
 (0)