Skip to content

Commit

Permalink
docs: update workflow input
Browse files Browse the repository at this point in the history
  • Loading branch information
olegsu committed Dec 5, 2021
1 parent 6d9e880 commit e155de2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@

name: docs

on:
push:
branches: [ 'main' ]
on: workflow_dispatch

concurrency: docs-release
jobs:
deploy:
Expand Down
4 changes: 3 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ use: bot # change me
* `/? help`
* `/? label {name}` - adds a label, creating new one if not exists
* `/? merge` - squash merge the pull request
* `/? workflow {name}` - uses workflow dispatch event api to trigger worklfow. The workflow must have `on: workflow_dispatch`.
* `/? workflow {name} {key=value} {key=value}` - uses workflow dispatch event api to trigger worklfow. The workflow must have `on: workflow_dispatch`.
* `{name}` the file name of the worklfow (release.yaml)
* `{key=value}` key and value pairs to pass as an input to the workflow

### Permissions
Only a commands from the repository owner will be accepted.
Expand Down

0 comments on commit e155de2

Please sign in to comment.