add Usage section to README
This commit is contained in:
parent
fb4a3fad43
commit
9fd5fef3d2
18
README.md
18
README.md
@ -127,6 +127,24 @@ COMPOSE_FILE="compose.yml:compose.auth.yml:compose.private.yml"
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
To trigger the deploy webhook with normal HTTP request
|
||||
|
||||
```bash
|
||||
curl -v -XPOST https://example.org/deploy
|
||||
```
|
||||
|
||||
To trigger the deploy webhook with HTTP Auth enabled, add the header with:
|
||||
|
||||
```bash
|
||||
curl -v XPOST -H "Authorization: Basic <insert password token>" https://hook.com/deploy
|
||||
```
|
||||
|
||||
Assuming all is setup correctly, you should see the build triggered
|
||||
when viewing `abra app log example.org` log output.
|
||||
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
This is a WIP, there are likely dragons and foot cannons. Ye be warned :dragon: :pirate_flag: :grimacing:
|
||||
|
Loading…
x
Reference in New Issue
Block a user