Skip to content

Commit c5a003e

Browse files
authored
Merge pull request #346 from ByteInternet/add-overriding-deployer-variables
Add overriding Deployer variables
2 parents 04caffc + 0f65ac6 commit c5a003e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/hypernode-deploy/getting-started/install-and-configure-hypernode-deploy.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,14 @@ More configurations can be found at:
4747
```
4848

4949
In the next step we're going to configure a CI/CD pipeline to let Hypernode Deploy execute the `deploy.php` configuration.
50+
51+
## Override Deployer variables
52+
53+
Some varaibles are automatically set, for example the default timeout of every task, you can change this by simply adding a `set` in our `deploy.php` as can be shown here:
54+
55+
```php
56+
use function Deployer\set;
57+
58+
// Change the default timeout from 300 seconds to 900 seconds
59+
set('default_timeout', 900);
60+
```

0 commit comments

Comments
 (0)