PHP code example of unleashedtech / deployer-recipes
1. Go to this page and download the library: Download unleashedtech/deployer-recipes library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
unleashedtech / deployer-recipes example snippets
yaml
tasks:
foo:
script:
- "echo 'foo'"
bar:
script:
- "echo 'bar'"
after:
deploy:symlink: foo
before:
deploy:unlock: bar