-
Notifications
You must be signed in to change notification settings - Fork 9
/
action.yml
30 lines (30 loc) · 1.45 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: "Bump.sh API Documentation & Changelog"
description: |
Keep your public, private and partner API docs in sync with your code, whether you use OpenAPI or AsyncAPI.
inputs:
file:
description: "Relative path to an API definition file (OpenAPI or AsyncAPI)"
required: true
default: api-contract.yml
doc:
description: "Documentation slug or id. Can be found in the documentation settings on https://bump.sh"
token:
description: "Api token. Can be found in the documentation or organization settings on https://bump.sh"
hub:
description: "Hub slug or id. Needed when deploying to a documentation attached to a Hub. Can be found in the hub settings on https://bump.sh"
branch:
description: "Branch name used during `deploy` or `diff` commands. This can be useful to maintain multiple API reference history and make it available in your API documentation."
command:
description: "Bump command: deploy|dry-run|preview|diff"
default: deploy
expires:
description: "Specify a longer expiration date for public diffs (defaults to 1 day). Use iso8601 format to provide a date, or you can use `never` to keep the result live indefinitely."
fail_on_breaking:
description: "Mark the action as failed when a breaking change is detected with the diff command. This is only valid when `diff` is provided in the command input."
default: false
runs:
using: "node16"
main: "dist/index.js"
branding:
color: gray-dark
icon: book-open