mirror of
https://github.com/thegeeklab/wp-github-comment.git
synced 2024-11-24 23:10:39 +00:00
cleanup docs and examples
This commit is contained in:
parent
568738a12a
commit
abc57db69a
@ -29,14 +29,11 @@ Only pull request events are supported by this plugin. Running the plugin on oth
|
|||||||
{{< /hint >}}
|
{{< /hint >}}
|
||||||
|
|
||||||
```YAML
|
```YAML
|
||||||
kind: pipeline
|
|
||||||
name: default
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: pr-comment
|
- name: pr-comment
|
||||||
image: quay.io/thegeeklab/wp-github-comment
|
image: quay.io/thegeeklab/wp-github-comment
|
||||||
settings:
|
settings:
|
||||||
api_key: ghp_3LbMg9Kncpdkhjp3bh3dMnKNXLjVMTsXk4sM
|
api_key: ghp_randomstring
|
||||||
message: "CI run completed successfully"
|
message: "CI run completed successfully"
|
||||||
update: true
|
update: true
|
||||||
```
|
```
|
||||||
@ -71,7 +68,7 @@ docker run --rm \
|
|||||||
-e CI_REPO_OWNER=octocat \
|
-e CI_REPO_OWNER=octocat \
|
||||||
-e CI_REPO_NAME=foo \
|
-e CI_REPO_NAME=foo \
|
||||||
-e CI_COMMIT_PULL_REQUEST=1
|
-e CI_COMMIT_PULL_REQUEST=1
|
||||||
-e PLUGIN_API_KEY=abc123 \
|
-e PLUGIN_API_KEY=ghp_randomstring \
|
||||||
-e PLUGIN_MESSAGE="Demo comment" \
|
-e PLUGIN_MESSAGE="Demo comment" \
|
||||||
-v $(pwd):/build:z \
|
-v $(pwd):/build:z \
|
||||||
-w /build \
|
-w /build \
|
||||||
|
Loading…
Reference in New Issue
Block a user