Skip to content

Commit 0451230

Browse files
committed
fix: make revision parameter optional
1 parent 6cb4985 commit 0451230

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This GitHub action does two things:
66

77
## Inputs
88

9-
- `revision` (required) - The revision or version identifier for the documentation to be built.
9+
- `revision` (default: `default_revision`) - The revision or version identifier for the documentation to be built.
1010
- `src-root` (default: `./`) - The root directory where the source documentation files are located. The action will use this directory as the base location to look for the source files that need to be built.
1111
- `lint-root` (default: `./_docs-lint`) - The root directory for the linting process. This is an optional parameter, and if not specified, the default value will be used.
1212
- `build-root` (default: `./_docs-build`) - The root directory for the built documentation. This is an optional parameter, and if not specified, the default value will be used.

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Build documentation
33

44
inputs:
55
revision:
6-
required: true
6+
default: "default_revision"
77
src-root:
88
default: "./"
99
lint-root:

0 commit comments

Comments
 (0)