diff --git a/configure.html b/configure.html index 9937bceb..95be7df4 100644 --- a/configure.html +++ b/configure.html @@ -393,12 +393,15 @@

Settings

"includes-level": 2, "includes": [], "plugins": [], - "run-mode": "docker", - "run-exec": "docker exec -i CONTAINER_NAME", - "run-path": "vendor/bin/captainhook", - "php-path": "/usr/bin/php7.4" + "php-path": "/usr/bin/php7.4", "custom": { "my-custom-index": "my-custom-value" + }, + "run": { + "mode": "docker", + "exec": "docker exec -i CONTAINER_NAME", + "path": "vendor/bin/captainhook", + "git": "/docker/.git" } } } @@ -457,33 +460,39 @@

Settings

- - run-mode - CaptainHook execution mode (local|docker) - local + php-path + Path to the PHP executable + - - run-exec - Docker command to spin up the container and execute a script + custom + List of custom settings you need for replacements or custom actions - + Run Configuration + + mode + CaptainHook execution mode (shell|php|local|docker) + shell + - run-path - Path to the command inside your docker container + exec + Docker command to spin up the container and execute a script - - php-path - Path to the PHP executable + path + Path to the CaptainHook command inside your Docker container - - custom - List of custom settings you need for replacements or custom actions + git + Absolute path to the .git directory inside your Docker container - - +

Overwrite settings

If you have different preferences as your team does and you want to tweak some settings to your needs but you @@ -501,9 +510,12 @@

Overwrite settings

"verbosity": "quiet", "ansi-colors": false, "fail-on-first-error": false, - "run-mode": "docker", - "run-exec": "docker exec -i MY_CONTAINER_NAME", - "run-path": "vendor/bin/captainhook", + "run": { + "mode": "docker", + "exec": "docker exec -i MY_CONTAINER_NAME", + "path": "vendor/bin/captainhook", + "git": "/docker/.git" + }, "custom": { "some-key": "some value" }