Skip to content

Commit

Permalink
Include shebang info wiki/home.md in readme
Browse files Browse the repository at this point in the history
A change was made in response to adnanh#60 (fork/exec: exec format error) on the wiki that would be useful to also propagate to the readme.
  • Loading branch information
464bb26bac556e85b6fd6b524347b103 authored Jun 4, 2018
1 parent 10396a5 commit 681e8b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Prebuilt binaries for different architectures are available at [GitHub Releases]
## Configuration
Next step is to define some hooks you want [webhook][w] to serve. Begin by creating an empty file named `hooks.json`. This file will contain an array of hooks the [webhook][w] will serve. Check [Hook definition page](docs/Hook-Definition.md) to see the detailed description of what properties a hook can contain, and how to use them.

Let's define a simple hook named `redeploy-webhook` that will run a redeploy script located in `/var/scripts/redeploy.sh`.
Let's define a simple hook named `redeploy-webhook` that will run a redeploy script located in `/var/scripts/redeploy.sh`. Make sure that your bash script has `#!/bin/sh` shebang on top.

Our `hooks.json` file will now look like this:
```json
Expand Down

0 comments on commit 681e8b6

Please sign in to comment.