PHP code example of continuousphp / deploy-agent
1. Go to this page and download the library: Download continuousphp/deploy-agent 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/ */
continuousphp / deploy-agent example snippets
yaml
# continuous.yml
deployment:
hooks:
AfterInstall:
- command: echo 'the application is successfully installed'
BeforeActivate:
- command: echo 'the application is going to start'
AfterActivate:
- command: echo 'the application has started'